netty5/resolver-dns/src
Trustin Lee e1bf9d6257 Fix unintended timeout in negative DNS lookup cache test
Motivation:

DNS lookups in DnsNameResolverTest can take longer than expected due to
retries. The hard limit of 5 seconds is being applied to
testNegativeTtl(), making the first uncached lookup cause a timeout.

Modifications:

Do not use JUnit's Timeout annotation but implement simple timeout
mechanism that apples only to cached lookups.

Result:

testNegativeTtl() should not fail when an initial negative lookup
requires a retry.
2015-08-29 11:40:32 +09:00
..
main/java/io/netty/resolver/dns Fix DNS lookup hang / Remove Comodo Secure DNS 2015-08-27 12:52:29 +09:00
test/java/io/netty/resolver/dns Fix unintended timeout in negative DNS lookup cache test 2015-08-29 11:40:32 +09:00