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 3a8528968d..9de5813872 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 @@ protected String getDefaultWorkingDirectory() { 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")); }