aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-03-22 18:32:22 +0100
committerGitHub <noreply@github.com>2021-03-22 18:32:22 +0100
commit56b6001c79bb61bcf80573b6fd519c821d272518 (patch)
tree91541db21c95a74dc0c3d636a2624a4bc53baa78 /config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java
parent06ab7d65b8d8a03a0df270652fd2856b70e8e76e (diff)
Revert "Revert "Revert "Don't write to standard err"""
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java
index 3be592e54e7..80ab6745b79 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java
@@ -254,4 +254,10 @@ public class IndexedHierarchicDistributionTest {
getTwoGroupsCluster(4, 2, "2|*");
}
+ @Test
+ public void allowNoReadyCopies() throws Exception {
+ // The active one should be indexed anyhow. Setting up no ready copies
+ getTwoGroupsCluster(4, 0, "2|*");
+ }
+
}