This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f92c675  HDFS-16230. Remove irrelevant trim() call in 
TestStorageRestore. (#3455). Contributed by Thomas Leplus.
f92c675 is described below

commit f92c6750ec33392b8efa99931fc3c1fa82baa627
Author: Thomas Leplus <thomaslep...@users.noreply.github.com>
AuthorDate: Sun Sep 19 11:39:05 2021 -0700

    HDFS-16230. Remove irrelevant trim() call in TestStorageRestore. (#3455). 
Contributed by Thomas Leplus.
---
 .../java/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java
index 19f1ca9..3664704 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java
+++ 
b/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"));
       
 

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

Reply via email to