[
https://issues.apache.org/jira/browse/HDFS-16230?focusedWorklogId=652651&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-652651
]
ASF GitHub Bot logged work on HDFS-16230:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Sep/21 18:56
Start Date: 18/Sep/21 18:56
Worklog Time Spent: 10m
Work Description: ayushtkn commented on a change in pull request #3455:
URL: https://github.com/apache/hadoop/pull/3455#discussion_r711627442
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java
##########
@@ -294,7 +294,7 @@ public void testDfsAdminCmd() throws Exception {
restore = fsi.getStorage().getRestoreFailedStorage();
assertTrue("After check call restore is " + restore, restore);
String commandOutput = cmdResult.getCommandOutput();
- commandOutput.trim();
+ commandOutput = commandOutput.trim();
assertTrue(commandOutput.contains("restoreFailedStorage is set to
true"));
Review comment:
Your repo seems back
https://github.com/thomasleplus/hadoop/tree/patch-1
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 652651)
Time Spent: 1h 10m (was: 1h)
> Minor bug in TestStorageRestore
> -------------------------------
>
> Key: HDFS-16230
> URL: https://issues.apache.org/jira/browse/HDFS-16230
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Thomas Leplus
> Priority: Trivial
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Strings being immutable, you need to use the trim() method return value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]