sumangala-patki commented on a change in pull request #3331:
URL: https://github.com/apache/hadoop/pull/3331#discussion_r698002522



##########
File path: 
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAbfsListStatusRemoteIterator.java
##########
@@ -113,7 +119,9 @@ public void testAbfsIteratorWithoutHasNext() throws 
Exception {
     for (int i = 0; i < TEST_FILES_NUMBER; i++) {
       FileStatus fileStatus = fsItr.next();
       String pathStr = fileStatus.getPath().toString();
-      fileNames.remove(pathStr);
+      if (!fileNames.remove(pathStr)) {
+        LOG.debug("Could not remove path string {} from fileNames", pathStr);
+      }
       itrCount++;
     }
     Assertions.assertThatThrownBy(() -> fsItr.next())

Review comment:
       done




-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to