@Test
    void testMultipleConfigServers() {
        VespaModel vespaModel = getVespaModel(TESTDIR + "multipleconfigservers");

        // Verify that the admin plugin has been loaded (always loads 'routing' and 'logs')
        assertEquals(3, vespaModel.configModelRepo().asMap().size());
        ApplicationConfigProducerRoot root = vespaModel.getVespa();
        assertNotNull(root);

        Admin admin = vespaModel.getAdmin();
        assertNotNull(admin);

        // Verify configIds
        Set<String> configIds = vespaModel.getConfigIds();
        String localhost = HostName.getLocalhost();
        String localhostConfigId = "hosts/" + localhost;
        assertTrue(configIds.contains(localhostConfigId));
        assertTrue(configIds.contains("admin/logserver"));
        assertTrue(configIds.contains("admin/configservers/configserver.0"));
        assertTrue(configIds.contains("admin/configservers/configserver.1"));

        assertEquals(2, admin.getConfigservers().size());

        // Default configserver is the first one in the list and should have the default ports too
        Configserver server1 = admin.getConfigservers().get(0);
        assertEquals(admin.getConfigserver(), server1);
        assertEquals(2, server1.getPortCount());
        assertEquals(19070, server1.getRelativePort(0));
        assertEquals(19071, server1.getRelativePort(1));


        // Second configserver should be on second host but have the same port number
        Configserver server2 = admin.getConfigservers().get(1);

        assertNotSame(server1, server2);
        assertNotSame(server1.getHostName(), server2.getHostName());

        assertEquals(2, server2.getPortCount());
        assertEquals(19070, server2.getRelativePort(0));
        assertEquals(19071, server2.getRelativePort(1));
    }
Test that a very simple config with only adminserver tag creates
adminserver, logserver, configserver and slobroks
config-model/src/test/java/com/yahoo/vespa/model/admin/AdminTestCase.java