sahilTakiar commented on a change in pull request #1695: HADOOP-16685: FileSystem#listStatusIterator does not check if given path exists URL: https://github.com/apache/hadoop/pull/1695#discussion_r347164840
########## File path: hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractGetFileStatusTest.java ########## @@ -279,6 +279,20 @@ public void testListFilesNoDir() throws Throwable { } } + @Test + public void testListStatusIteratorNoDir() throws Throwable { + describe("test the listStatusIterator calls on a path which is not " + + "present"); + Path path = path("missing"); + try { + RemoteIterator<FileStatus> iterator 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org