more work on repairing tests for new connection handling

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

Branch: refs/heads/CURATOR-248
Commit: 1a2a94b625e7e1b5e535414e397e9b3a4173ca1b
Parents: e001e00
Author: randgalt <randg...@apache.org>
Authored: Sun Aug 23 10:54:29 2015 -0500
Committer: randgalt <randg...@apache.org>
Committed: Sun Aug 23 10:54:29 2015 -0500

----------------------------------------------------------------------
 .../curator/framework/recipes/leader/TestLeaderSelectorEdges.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/1a2a94b6/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 03708f1..0085968 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
@@ -158,7 +158,7 @@ public class TestLeaderSelectorEdges extends 
BaseClassForTests
         final CuratorFramework client =
             CuratorFrameworkFactory.builder()
                 .connectString(server.getConnectString())
-                .retryPolicy(new RetryNTimes(2, 1))
+                .retryPolicy(new RetryNTimes(2, 100))
                 .connectionTimeoutMs(1000)
                 .sessionTimeoutMs(60000)
                 .build();

Reply via email to