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: minor reformat
Date Sat, 22 Aug 2015 15:47:11 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-247 d31700997 -> 847cc0d24


minor reformat


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

Branch: refs/heads/CURATOR-247
Commit: b8d4c3d77de029917820634fa4ed21be19bbcf2c
Parents: d317009
Author: randgalt <randgalt@apache.org>
Authored: Fri Aug 21 17:59:07 2015 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Fri Aug 21 17:59:07 2015 -0500

----------------------------------------------------------------------
 .../src/test/java/org/apache/curator/TestEnsurePath.java           | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/b8d4c3d7/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java
----------------------------------------------------------------------
diff --git a/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java b/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java
index 4fe9561..871e4af 100644
--- a/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java
+++ b/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java
@@ -51,6 +51,7 @@ public class TestEnsurePath
         CuratorZookeeperClient  curator = mock(CuratorZookeeperClient.class);
         RetryPolicy             retryPolicy = new RetryOneTime(1);
         RetryLoop               retryLoop = new RetryLoop(retryPolicy, null);
+        when(curator.retryConnectionTimeouts()).thenReturn(true);
         when(curator.getZooKeeper()).thenReturn(client);
         when(curator.getRetryPolicy()).thenReturn(retryPolicy);
         when(curator.newRetryLoop()).thenReturn(retryLoop);
@@ -76,6 +77,7 @@ public class TestEnsurePath
         RetryPolicy             retryPolicy = new RetryOneTime(1);
         RetryLoop               retryLoop = new RetryLoop(retryPolicy, null);
         final CuratorZookeeperClient  curator = mock(CuratorZookeeperClient.class);
+        when(curator.retryConnectionTimeouts()).thenReturn(true);
         when(curator.getZooKeeper()).thenReturn(client);
         when(curator.getRetryPolicy()).thenReturn(retryPolicy);
         when(curator.newRetryLoop()).thenReturn(retryLoop);


Mime
View raw message