@Test
@Ignore("intended for manual run only")
public void connectToRealAddress() throws ExecutionException, InterruptedException {

    final SslContextFactory sslContextFactory = new SslContextFactory.Client(false);
    HttpClient httpClient = new HttpClient(sslContextFactory);
    httpClient.setExecutor(Executors.newCachedThreadPool());
    final CompletableFuture<List<InetSocketAddress>> future = new CompletableFuture<>();
    final Promise<List<InetSocketAddress>> promise = Promise.from(future);
    final HappyEyeballsResolver happyEyeballsResolver = new HappyEyeballsResolver(httpClient);
    final long startTime = System.nanoTime();
    happyEyeballsResolver.resolve("www.google.com", 80, promise);
    final List<InetSocketAddress> inetSocketAddresses = future.get();
    final long elapsed = System.nanoTime() - startTime;
    System.out.printf("Connected to: %s in %1.3fs %n",
            inetSocketAddresses.get(0).getAddress().getHostAddress(), elapsed/1e9);
    assertThat(inetSocketAddresses).isNotEmpty();
}