netty5/resolver-dns
Trustin Lee c0079840be Improve DnsNameResolverTest.testResolveA()
Motivation:

DnsNameResolver.testResolveA() tests if the cache works as well as the usual DNS protocol test.  To ensure the result from the cache is identical to the result without cache, it compares the two Maps which contain the result of cached/uncached resolution.  The comparison of two Maps yields an expected behavior, but the output of the comparison on failure is often unreadable due to its long length.

Modifications:

Compare entry-by-entry for more comprehensible test failure output

Result:

When failure occurs, it's easier to see which domain was the cause of the problem.
2014-10-25 17:29:06 +09:00
..
src Improve DnsNameResolverTest.testResolveA() 2014-10-25 17:29:06 +09:00
pom.xml Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00