sijie commented on a change in pull request #658: Fail earlier when 
encountering DNS issues
URL: https://github.com/apache/bookkeeper/pull/658#discussion_r146712921
 
 

 ##########
 File path: 
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestRegionAwareEnsemblePlacementPolicy.java
 ##########
 @@ -65,7 +65,7 @@ static void updateMyRack(String rack) throws Exception {
         
StaticDNSResolver.addNodeToRack(InetAddress.getLocalHost().getHostAddress(), 
rack);
         
StaticDNSResolver.addNodeToRack(InetAddress.getLocalHost().getHostName(), rack);
         StaticDNSResolver.addNodeToRack("127.0.0.1", rack);
-        StaticDNSResolver.addNodeToRack("localhost", rack);
+        StaticDNSResolver.addNodeToRack("localhost", rack);        
 
 Review comment:
   it would be good to remove trailing spaces.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to