curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [1/2] curator git commit: Longer connection timeout needed
Date Sun, 23 Aug 2015 12:49:28 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-247 05d241da6 -> 5f094f8bb


Longer connection timeout needed


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

Branch: refs/heads/CURATOR-247
Commit: face4034e9fdcc9ffdb394c7c1682add834a1e10
Parents: 05d241d
Author: randgalt <randgalt@apache.org>
Authored: Sat Aug 22 21:54:24 2015 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Sat Aug 22 21:54:24 2015 -0500

----------------------------------------------------------------------
 .../framework/recipes/leader/TestLeaderSelectorEdges.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/face4034/curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderSelectorEdges.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderSelectorEdges.java
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderSelectorEdges.java
index d13fea7..03708f1 100644
--- a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderSelectorEdges.java
+++ b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/leader/TestLeaderSelectorEdges.java
@@ -159,7 +159,7 @@ public class TestLeaderSelectorEdges extends BaseClassForTests
             CuratorFrameworkFactory.builder()
                 .connectString(server.getConnectString())
                 .retryPolicy(new RetryNTimes(2, 1))
-                .connectionTimeoutMs(100)
+                .connectionTimeoutMs(1000)
                 .sessionTimeoutMs(60000)
                 .build();
         final CountDownLatch latch = new CountDownLatch(1);
@@ -211,7 +211,7 @@ public class TestLeaderSelectorEdges extends BaseClassForTests
             CuratorFrameworkFactory.builder()
                 .connectString(server.getConnectString())
                 .retryPolicy(new RetryNTimes(0, 0))
-                .connectionTimeoutMs(100)
+                .connectionTimeoutMs(1000)
                 .sessionTimeoutMs(60000)
                 .build();
         final CountDownLatch latch = new CountDownLatch(1);


Mime
View raw message