summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 21:06:41 +0200
committerGitHub <noreply@github.com>2016-09-06 21:06:41 +0200
commit1e0c026dccf2ab1035d8f683736919784b2542fd (patch)
treeac73901f613184b8a02ea29078adcdc88db868fa
parent349f8cb5cb91d0374d970081bee3ee34ad354667 (diff)
parente682116b1f0222cd61f56bc37c24d1e1653733ab (diff)
Merge pull request #568 from yahoo/balder/breakfix-config-server
Blind fix to get factory going
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/deploy/ZooKeeperClientTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/ZooKeeperClientTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/ZooKeeperClientTest.java
index 1bd9249644b..cef3ab843b0 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/ZooKeeperClientTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/ZooKeeperClientTest.java
@@ -81,14 +81,14 @@ public class ZooKeeperClientTest extends TestWithCurator {
String defsPath = appPath + ConfigCurator.DEFCONFIGS_ZK_SUBPATH;
assertTrue(zk.exists(appPath, ConfigCurator.DEFCONFIGS_ZK_SUBPATH.replaceFirst("/", "")));
List<String> children = zk.getChildren(defsPath);
- assertEquals(defsPath + " children", 2, children.size());
+ assertEquals(defsPath + " children", 8, children.size());
Collections.sort(children);
assertThat(children.get(0), is("a.b.test2,"));
assertTrue(zk.exists(appPath, ConfigCurator.USER_DEFCONFIGS_ZK_SUBPATH.replaceFirst("/", "")));
String userDefsPath = appPath + ConfigCurator.USER_DEFCONFIGS_ZK_SUBPATH;
children = zk.getChildren(userDefsPath);
- assertThat(children.size(), is(2));
+ assertThat(children.size(), is(8));
Collections.sort(children);
assertThat(children.get(0), is("a.b.test2,"));
}