@Test
    void updateServerRefOnValidDiscoveryResult() throws InterruptedException {
        OriginName originName = OriginName.fromVip("vip", "test");
        DefaultClientConfigImpl clientConfig = new DefaultClientConfigImpl();

        DynamicServerResolver resolver = mock(DynamicServerResolver.class);
        InstanceInfo instanceInfo = InstanceInfo.Builder.newBuilder()
                .setAppName("server-equality")
                .setHostName("server-equality")
                .setPort(7777)
                .build();
        DiscoveryResult discoveryResult = DiscoveryResult.from(instanceInfo, false);

        when(resolver.resolve(any())).thenReturn(discoveryResult);

        DefaultClientChannelManager clientChannelManager =
                new DefaultClientChannelManager(originName, clientConfig, resolver, new DefaultRegistry());

        AtomicReference<DiscoveryResult> serverRef = new AtomicReference<>();

        // TODO(argha-c) capture and assert on the promise once we have a dummy with ServerStats initialized
        var unusedFuture = clientChannelManager.acquire(
                new DefaultEventLoop(), null, CurrentPassport.create(), serverRef, new AtomicReference<>());

        Truth.assertThat(serverRef.get()).isSameInstanceAs(discoveryResult);
    }
Tests for {@link DefaultClientChannelManager}.  These tests don't use IPv6 addresses because {@link InstanceInfo} is
not capable of expressing them.
zuul-core/src/test/java/com/netflix/zuul/netty/connectionpool/DefaultClientChannelManagerTest.java