You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by fe...@apache.org on 2021/12/20 10:16:34 UTC

[hadoop] branch trunk updated: HDFS-16168. Fix TestHDFSFileSystemContract.testAppend timeout (#3815)

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 <se...@gmail.com>
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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org