protected static List<Endpoint> newSampleEndpoints() {
        final int[] ports = unusedPorts(3);
        return ImmutableList.of(Endpoint.of("host.docker.internal", ports[0]).withWeight(2),
                                Endpoint.of("host.docker.internal", ports[1]).withWeight(4),
                                Endpoint.of("host.docker.internal", ports[2]).withWeight(2));
    }
A helper class for testing with Nacos.
nacos/src/test/java/com/linecorp/armeria/internal/nacos/NacosTestBase.java