Justine Olshan created KAFKA-10496:
--------------------------------------

             Summary: Create an in-memory DNS server for ClientUtilsTest and 
ClusterConnectionStatesTest
                 Key: KAFKA-10496
                 URL: https://issues.apache.org/jira/browse/KAFKA-10496
             Project: Kafka
          Issue Type: Improvement
            Reporter: Justine Olshan


ClientUtilsTest and ClusterConnectionStatesTest currently use an external DNS 
to resolve the IP addresses for kafka.apache.org. Until recently there were 
only two IP4 addresses, but now there is a third. 

These tests are pretty fragile when they rely on outside sources, so it would 
make sense to create an in-memory DNS.  This is what netty does for similar 
tests.  
[https://github.com/netty/netty/blob/master/resolver-dns/src/test/java/io/netty/resolver/dns/TestDnsServer.java].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to