@Test
    void requireThatRedundancyPerGroupMustBeIsEqual() {
        try {
            getTwoGroupsCluster(4, 4, "1|*");
            fail("Did not get expected Exception");
        } catch (Exception e) {
            assertTrue(e.getMessage().contains("Expected distribution partitions should be '2|*'"));
        }
    }
Unit tests for hierarchic distribution in an indexed content cluster.

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java