Ver Fonte

HDFS-16230. Remove irrelevant trim() call in TestStorageRestore. (#3455). Contributed by Thomas Leplus.

Thomas Leplus há 3 anos atrás
pai
commit
f92c6750ec

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

@@ -294,7 +294,6 @@ public class TestStorageRestore {
       restore = fsi.getStorage().getRestoreFailedStorage();
       assertTrue("After check call restore is " + restore, restore);
       String commandOutput = cmdResult.getCommandOutput();
-      commandOutput.trim();
       assertTrue(commandOutput.contains("restoreFailedStorage is set to true"));