Revert "HADOOP-17303. TestWebHDFS.testLargeDirectory failing (#2380)"

(reverting to change the JIRA number)

This reverts commit 3e1b1dfd77.

Change-Id: I8261357f38268b5d7c1c13f6ef366d037be972dd
This commit is contained in:
Steve Loughran 2020-10-13 13:29:55 +01:00
parent 3e1b1dfd77
commit d606ddc12c
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,6 @@ import java.util.Collection;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Random;
import com.google.common.collect.ImmutableList;
@ -405,7 +404,7 @@ public class TestWebHDFS {
try {
it.next();
fail("Iterator should error if out of elements.");
} catch (NoSuchElementException e) {
} catch (IllegalStateException e) {
// pass
}
return null;