@Test
    void requireThatNodesInHierarchicGroupsAreNamedAfterDistributionKey() throws Exception {
        ContentCluster cluster = getMultiGroupCluster();
        List<SearchNode> nodes = cluster.getSearch().getSearchNodes();
        assertEquals(4, nodes.size());
        assertSearchNode("n7", "7", nodes.get(0));
        assertSearchNode("n11", "11", nodes.get(1));
        assertSearchNode("n17", "17", nodes.get(2));
        assertSearchNode("n13", "13", nodes.get(3));
    }
Unit tests for the naming of search nodes base dir and config ids in an indexed content cluster.

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