virajjasani commented on code in PR #5674:
URL: https://github.com/apache/hadoop/pull/5674#discussion_r1199906322
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterAdminCLI.java:
##########
@@ -1918,6 +1920,9 @@ public void testAddMultipleMountPointsFailure() throws
Exception {
"-faulttolerant"};
// mount points were already added
assertNotEquals(0, ToolRunner.run(admin, argv));
+
+ assertTrue("The error message should return failed entries",
+ err.toString().contains("Cannot add mount points:
[0SLASH0testAddMultiMountPoints-01"));
Review Comment:
Sounds good, that will be more readable to operators. Let me make this
change.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]