You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by eo...@apache.org on 2022/02/27 07:49:51 UTC

[curator] branch master updated: CURATOR-633: Run TestConnectionStateManager tests in exact groups (#411)

This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/curator.git


The following commit(s) were added to refs/heads/master by this push:
     new fe50da4  CURATOR-633: Run TestConnectionStateManager tests in exact groups (#411)
fe50da4 is described below

commit fe50da4904aa4ca4f51b473ad298ae664358ff3c
Author: tison <wa...@gmail.com>
AuthorDate: Sun Feb 27 15:49:44 2022 +0800

    CURATOR-633: Run TestConnectionStateManager tests in exact groups (#411)
    
    Signed-off-by: tison <wa...@gmail.com>
---
 .../org/apache/curator/framework/state/TestConnectionStateManager.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/curator-framework/src/test/java/org/apache/curator/framework/state/TestConnectionStateManager.java b/curator-framework/src/test/java/org/apache/curator/framework/state/TestConnectionStateManager.java
index 67d36cc..3c537cf 100644
--- a/curator-framework/src/test/java/org/apache/curator/framework/state/TestConnectionStateManager.java
+++ b/curator-framework/src/test/java/org/apache/curator/framework/state/TestConnectionStateManager.java
@@ -39,10 +39,10 @@ import java.util.concurrent.BlockingQueue;
 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()
@@ -91,6 +91,7 @@ public class TestConnectionStateManager extends BaseClassForTests {
     }
 
     @Test
+    @Tag(CuratorTestBase.zk36Group)
     public void testConnectionStateRecoversFromUnexpectedExpiredConnection() throws Exception {
         Timing2 timing = new Timing2();
         CuratorFramework client = CuratorFrameworkFactory.builder()