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-248 Commit: b8d4c3d77de029917820634fa4ed21be19bbcf2c Parents: d317009 Author: randgalt <randg...@apache.org> Authored: Fri Aug 21 17:59:07 2015 -0500 Committer: randgalt <randg...@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);