@Override
                    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) {
                        ctx.executor().schedule(() -> ctx.writeAndFlush(msg, promise), 1, TimeUnit.SECONDS);
                    }
This test does not check anything but makes the future returned by
{@link DefaultDnsResolver#resolve(List, String)}} is completed even before the DNS responses
are received. By doing so, we can make our leak detectors detect any leaks if we forgot to release
the DNS responses. See https://github.com/line/armeria/pull/2951 for more information.
core/src/test/java/com/linecorp/armeria/internal/client/dns/DefaultDnsResolverTest.java