diff options
author | Geir Storli <geirst@oath.com> | 2017-12-13 15:33:00 +0100 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2017-12-13 15:33:00 +0100 |
commit | 2d5b13aa37bfeddfbc0b4fe46c2ef438c711b444 (patch) | |
tree | 800edd911661d75745a69dd9bfb8160e43372dad /config-model | |
parent | c7a6e96d8755119342993ce426332274d642c5b0 (diff) |
Add switch to enable multiple bucket spaces in content layer and content nodes.
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/content/ContentSearchClusterTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSearchClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSearchClusterTest.java index 8489aefc57a..41bba055a50 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSearchClusterTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSearchClusterTest.java @@ -17,6 +17,7 @@ import static com.yahoo.config.model.test.TestUtil.joinLines; import static com.yahoo.vespa.model.content.utils.ContentClusterUtils.createCluster; import static com.yahoo.vespa.model.content.utils.SearchDefinitionBuilder.createSearchDefinitions; import static junit.framework.TestCase.assertEquals; +import static junit.framework.TestCase.assertFalse; /** * Unit tests for content search cluster. @@ -133,6 +134,8 @@ public class ContentSearchClusterTest { assertEquals(2, config.documenttype().size()); assertDocumentType("global", "global", config.documenttype(0)); assertDocumentType("regular", "default", config.documenttype(1)); + // Safeguard against flipping the switch + assertFalse(config.enable_multiple_bucket_spaces()); } } |