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:
parent
3e1b1dfd77
commit
d606ddc12c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue