From d4631e466bc85ce605061673a31f451353da9713 Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Wed, 3 May 2017 09:47:17 -0500 Subject: [PATCH] HADOOP-14372. TestSymlinkLocalFS timeouts are too low. Contributed by Eric Badger. --- .../test/java/org/apache/hadoop/fs/TestSymlinkLocalFS.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestSymlinkLocalFS.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestSymlinkLocalFS.java index 0a51b659290..45d63b11b07 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestSymlinkLocalFS.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestSymlinkLocalFS.java @@ -105,7 +105,7 @@ abstract public class TestSymlinkLocalFS extends SymlinkBaseTest { super.testStatDanglingLink(); } - @Test(timeout=1000) + @Test(timeout=10000) /** lstat a non-existant file using a partially qualified path */ public void testDanglingLinkFilePartQual() throws IOException { Path filePartQual = new Path(getScheme()+":///doesNotExist"); @@ -123,7 +123,7 @@ abstract public class TestSymlinkLocalFS extends SymlinkBaseTest { } } - @Test(timeout=1000) + @Test(timeout=10000) /** Stat and lstat a dangling link */ public void testDanglingLink() throws IOException { assumeNotWindows(); @@ -169,7 +169,7 @@ abstract public class TestSymlinkLocalFS extends SymlinkBaseTest { wrapper.getFileStatus(link); } - @Test(timeout=1000) + @Test(timeout=10000) /** * Test getLinkTarget with a partially qualified target. * NB: Hadoop does not support fully qualified URIs for the