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
1 changed files with 6 additions and 1 deletions

View File

@ -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"));
}