@Test
    void requireThatMultipleNodesAreNamedAfterDistributionKey() throws Exception {
        ContentCluster cluster = getMultiNodeCluster();
        List<SearchNode> nodes = cluster.getSearch().getSearchNodes();
        assertEquals(3, nodes.size());
        assertSearchNode("n5", "5", nodes.get(0));
        assertSearchNode("n3", "3", nodes.get(1));
        assertSearchNode("n7", "7", nodes.get(2));
    }
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