This is an automated email from the ASF dual-hosted git repository.
ferhui pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 32a78e0 HDFS-16168. Fix TestHDFSFileSystemContract.testAppend timeout
(#3815)
32a78e0 is described below
commit 32a78e0b9e2a41d65c912aefa228d9920a6fbabd
Author: secfree <[email protected]>
AuthorDate: Mon Dec 20 18:16:22 2021 +0800
HDFS-16168. Fix TestHDFSFileSystemContract.testAppend timeout (#3815)
---
.../java/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
index 3a85289..9de5813 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
@@ -63,7 +63,12 @@ public class TestHDFSFileSystemContract extends
FileSystemContractBaseTest {
return defaultWorkingDirectory;
}
- @Test(timeout = 60000)
+ @Override
+ protected int getGlobalTimeout() {
+ return 60 * 1000;
+ }
+
+ @Test
public void testAppend() throws IOException {
AppendTestUtil.testAppend(fs, new Path("/testAppend/f"));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]