sunchao commented on a change in pull request #2256:
URL: https://github.com/apache/hadoop/pull/2256#discussion_r479430862



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDFSZKFailoverController.java
##########
@@ -226,9 +228,11 @@ public void testWithBindAddressSet() throws Exception {
     DFSZKFailoverController zkfc = DFSZKFailoverController.create(
         conf);
     String addr = zkfc.getRpcAddressToBindTo().getHostString();
+    String nameserviceId = conf.get(DFS_NAMESERVICE_ID);
 
     assertEquals("Bind address " + addr + " is not wildcard.",
         addr, WILDCARD_ADDRESS);
+    assertEquals(nameserviceId, NAMESERVICE_ID);

Review comment:
       Yes: `assertEquals(NAMESERVICE_ID, nameserviceId)`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to