You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2017/02/28 22:33:17 UTC

[2/6] curator git commit: change timeout to 5s in TestBlockUntilConnected

change timeout to 5s in  TestBlockUntilConnected


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/7c35e441
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/7c35e441
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/7c35e441

Branch: refs/heads/master
Commit: 7c35e441b0a1b636e68c2e0f74cdb8e7fae69cb5
Parents: 651ac59
Author: Zoltan Szekeres <Zo...@morganstanley.com>
Authored: Thu Jan 26 11:53:53 2017 -0500
Committer: Zoltan Szekeres <Zo...@morganstanley.com>
Committed: Thu Jan 26 11:53:53 2017 -0500

----------------------------------------------------------------------
 .../org/apache/curator/framework/imps/TestBlockUntilConnected.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/7c35e441/curator-framework/src/test/java/org/apache/curator/framework/imps/TestBlockUntilConnected.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestBlockUntilConnected.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestBlockUntilConnected.java
index 7ea0849..debf7f9 100644
--- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestBlockUntilConnected.java
+++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestBlockUntilConnected.java
@@ -320,7 +320,7 @@ public class TestBlockUntilConnected extends BaseClassForTests
             //Wait until we get expired event
             Assert.assertTrue(timing.awaitLatch(expiredLatch), "Failed to get Expired event");
 
-            Assert.assertTrue(client.blockUntilConnected(50, TimeUnit.SECONDS), "Not connected");
+            Assert.assertTrue(client.blockUntilConnected(5, TimeUnit.SECONDS), "Not connected");
         }
         catch ( Exception e )
         {