Skip to content

Commit f92c675

Browse files
authored
HDFS-16230. Remove irrelevant trim() call in TestStorageRestore. (#3455). Contributed by Thomas Leplus.
1 parent a9b2469 commit f92c675

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ public void testDfsAdminCmd() throws Exception {
294294
restore = fsi.getStorage().getRestoreFailedStorage();
295295
assertTrue("After check call restore is " + restore, restore);
296296
String commandOutput = cmdResult.getCommandOutput();
297-
commandOutput.trim();
298297
assertTrue(commandOutput.contains("restoreFailedStorage is set to true"));
299298

300299

0 commit comments

Comments
 (0)