diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-09-06 21:35:55 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-09-06 21:35:55 +0200 |
commit | 267cfb0ac7453e8b7cedb6bb4c827b4ac2ef8d89 (patch) | |
tree | bce20e91f68464de2e8ad62bf0be56ae627345a3 /configserver | |
parent | 1e0c026dccf2ab1035d8f683736919784b2542fd (diff) |
Don't include source files when creating with 'deploy data'
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/test/java/com/yahoo/vespa/config/server/deploy/ZooKeeperClientTest.java | 4 |
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 cef3ab843b0..1bd9249644b 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", 8, children.size()); + assertEquals(defsPath + " children", 2, 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(8)); + assertThat(children.size(), is(2)); Collections.sort(children); assertThat(children.get(0), is("a.b.test2,")); } |