public Set<String> groups(String clusterName) {
        return clusterNodes.computeIfAbsent(clusterName, k -> new ConcurrentHashMap<>()).keySet();
    }
@Test
    public void testGroups() {
        Assertions.assertDoesNotThrow(() -> metadata.groups("cluster"));
    }