HDFS-16230. Remove irrelevant trim() call in TestStorageRestore. (#3455). Contributed by Thomas Leplus.
This commit is contained in:
parent
a9b2469a53
commit
f92c6750ec
|
@ -294,7 +294,6 @@ public class TestStorageRestore {
|
||||||
restore = fsi.getStorage().getRestoreFailedStorage();
|
restore = fsi.getStorage().getRestoreFailedStorage();
|
||||||
assertTrue("After check call restore is " + restore, restore);
|
assertTrue("After check call restore is " + restore, restore);
|
||||||
String commandOutput = cmdResult.getCommandOutput();
|
String commandOutput = cmdResult.getCommandOutput();
|
||||||
commandOutput.trim();
|
|
||||||
assertTrue(commandOutput.contains("restoreFailedStorage is set to true"));
|
assertTrue(commandOutput.contains("restoreFailedStorage is set to true"));
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue