Skip to content

Commit

Permalink
CURATOR-633: Run TestConnectionStateManager tests in exact groups (#411)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun authored Feb 27, 2022
1 parent 6f7b3e7 commit fe50da4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

@Tag(CuratorTestBase.zk35TestCompatibilityGroup)
public class TestConnectionStateManager extends BaseClassForTests {

@Test
@Tag(CuratorTestBase.zk35TestCompatibilityGroup)
public void testSessionConnectionStateErrorPolicyWithExpirationPercent30() throws Exception {
Timing2 timing = new Timing2();
CuratorFramework client = CuratorFrameworkFactory.builder()
Expand Down Expand Up @@ -91,6 +91,7 @@ public void stateChanged(CuratorFramework client, ConnectionState newState)
}

@Test
@Tag(CuratorTestBase.zk36Group)
public void testConnectionStateRecoversFromUnexpectedExpiredConnection() throws Exception {
Timing2 timing = new Timing2();
CuratorFramework client = CuratorFrameworkFactory.builder()
Expand Down

0 comments on commit fe50da4

Please sign in to comment.