HDFS-16168. Fix TestHDFSFileSystemContract.testAppend timeout (#3815)

This commit is contained in:
secfree 2021-12-20 18:16:22 +08:00 committed by GitHub
parent 6185056f4d
commit 32a78e0b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,12 @@ protected String getDefaultWorkingDirectory() {
return defaultWorkingDirectory; return defaultWorkingDirectory;
} }
@Test(timeout = 60000) @Override
protected int getGlobalTimeout() {
return 60 * 1000;
}
@Test
public void testAppend() throws IOException { public void testAppend() throws IOException {
AppendTestUtil.testAppend(fs, new Path("/testAppend/f")); AppendTestUtil.testAppend(fs, new Path("/testAppend/f"));
} }