Repository: curator Updated Branches: refs/heads/CURATOR-411 0d1aa7ed1 -> 3fa5143d6
connection string cannot be empty Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/3fa5143d Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/3fa5143d Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/3fa5143d Branch: refs/heads/CURATOR-411 Commit: 3fa5143d6692bb18dba0d21a28328de032482d6f Parents: 0d1aa7e Author: randgalt <[email protected]> Authored: Mon May 8 19:43:16 2017 +0200 Committer: randgalt <[email protected]> Committed: Mon May 8 19:43:16 2017 +0200 ---------------------------------------------------------------------- .../org/apache/curator/framework/imps/TestNamespaceFacade.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/3fa5143d/curator-framework/src/test/java/org/apache/curator/framework/imps/TestNamespaceFacade.java ---------------------------------------------------------------------- diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestNamespaceFacade.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestNamespaceFacade.java index 9357d00..9c1c99b 100644 --- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestNamespaceFacade.java +++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestNamespaceFacade.java @@ -40,7 +40,7 @@ public class TestNamespaceFacade extends BaseClassForTests { try { - CuratorFrameworkFactory.builder().namespace("/snafu").retryPolicy(new RetryOneTime(1)).connectString("").build(); + CuratorFrameworkFactory.builder().namespace("/snafu").retryPolicy(new RetryOneTime(1)).connectString("foo").build(); Assert.fail(); } catch ( IllegalArgumentException e ) @@ -53,7 +53,7 @@ public class TestNamespaceFacade extends BaseClassForTests public void testGetNamespace() throws Exception { CuratorFramework client = CuratorFrameworkFactory.newClient(server.getConnectString(), new RetryOneTime(1)); - CuratorFramework client2 = CuratorFrameworkFactory.builder().namespace("snafu").retryPolicy(new RetryOneTime(1)).connectString("").build(); + CuratorFramework client2 = CuratorFrameworkFactory.builder().namespace("snafu").retryPolicy(new RetryOneTime(1)).connectString("foo").build(); try { client.start(); @@ -232,7 +232,7 @@ public class TestNamespaceFacade extends BaseClassForTests @Test public void testUnfixForEmptyNamespace() { - CuratorFramework client = CuratorFrameworkFactory.builder().namespace("").retryPolicy(new RetryOneTime(1)).connectString("").build(); + CuratorFramework client = CuratorFrameworkFactory.builder().namespace("").retryPolicy(new RetryOneTime(1)).connectString("foo").build(); CuratorFrameworkImpl clientImpl = (CuratorFrameworkImpl) client; Assert.assertEquals(clientImpl.unfixForNamespace("/foo/bar"), "/foo/bar");
