netty5/resolver-dns/src
Norman Maurer 9dd1aab482
Fix flaky DnsNameResolverTest.testTruncatedWithTcpFallback (#9262)
Motivation:

testTruncatedWithTcpFallback was flacky as we may end up closing the socket before we could read all data. We should only close the socket after we succesfully read all data.

Modifications:

Move socket.close() to finally block

Result:

Fix flaky test and so make the CI more stable again.
2019-06-21 09:28:51 +02:00
..
main/java/io/netty/resolver/dns Only try to use reflection to access default nameservers when using Java8 and lower (#9157) 2019-05-18 08:21:33 +02:00
test Fix flaky DnsNameResolverTest.testTruncatedWithTcpFallback (#9262) 2019-06-21 09:28:51 +02:00