curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject curator git commit: more work on repairing tests for new connection handling
Date Sun, 23 Aug 2015 15:54:35 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-247 e001e0098 -> 1a2a94b62


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-247
Commit: 1a2a94b625e7e1b5e535414e397e9b3a4173ca1b
Parents: e001e00
Author: randgalt <randgalt@apache.org>
Authored: Sun Aug 23 10:54:29 2015 -0500
Committer: randgalt <randgalt@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();


Mime
View raw message