HDFS-16392. Fix TestWebHdfsFileSystemContract#testResponseCode timeout (#3821)
This commit is contained in:
parent
e2d6fd075d
commit
cc07a5a186
@ -91,6 +91,11 @@ protected String getDefaultWorkingDirectory() {
|
||||
return defaultWorkingDirectory;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getGlobalTimeout() {
|
||||
return 60 * 1000;
|
||||
}
|
||||
|
||||
/** HDFS throws AccessControlException
|
||||
* when calling exist(..) on a path /foo/bar/file
|
||||
* but /foo/bar is indeed a file in HDFS.
|
||||
@ -396,7 +401,7 @@ public void testOffsetPlusLengthParamsLongerThanFile() throws IOException {
|
||||
}
|
||||
}
|
||||
|
||||
@Test(timeout = 60000)
|
||||
@Test
|
||||
public void testResponseCode() throws IOException {
|
||||
final WebHdfsFileSystem webhdfs = (WebHdfsFileSystem)fs;
|
||||
final Path root = new Path("/");
|
||||
|
Loading…
Reference in New Issue
Block a user