Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected String getDefaultWorkingDirectory() {
}

@Override
@Test
@Test(timeout = 60000)
public void testAppend() throws IOException {
AppendTestUtil.testAppend(fs, new Path("/append/f"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ private boolean isFallBackExist(Configuration config) {
* When InnerCache disabled, all matching ViewFileSystemOverloadScheme
* initialized scheme file systems would not use FileSystem cache.
*/
@Test(timeout = 3000)
@Test(timeout = 30000)
public void testViewFsOverloadSchemeWithNoInnerCacheAndHdfsTargets()
throws Exception {
final Path hdfsTargetPath = new Path(defaultFSURI + HDFS_USER_FOLDER);
Expand All @@ -523,7 +523,7 @@ public void testViewFsOverloadSchemeWithNoInnerCacheAndHdfsTargets()
* initialized scheme file systems should continue to take advantage of
* FileSystem cache.
*/
@Test(timeout = 3000)
@Test(timeout = 30000)
public void testViewFsOverloadSchemeWithNoInnerCacheAndLocalSchemeTargets()
throws Exception {
final Path localTragetPath = new Path(localTargetDir.toURI());
Expand All @@ -545,7 +545,7 @@ public void testViewFsOverloadSchemeWithNoInnerCacheAndLocalSchemeTargets()
/**
* Tests the rename with nfly mount link.
*/
@Test(timeout = 3000)
@Test(timeout = 30000)
public void testNflyRename() throws Exception {
final Path hdfsTargetPath1 = new Path(defaultFSURI + HDFS_USER_FOLDER);
final Path hdfsTargetPath2 = new Path(defaultFSURI + HDFS_USER_FOLDER + 1);
Expand Down Expand Up @@ -577,7 +577,7 @@ public void testNflyRename() throws Exception {
/**
* Tests the write and read contents with nfly mount link.
*/
@Test(timeout = 3000)
@Test(timeout = 30000)
public void testNflyWriteRead() throws Exception {
final Path hdfsTargetPath1 = new Path(defaultFSURI + HDFS_USER_FOLDER);
final Path hdfsTargetPath2 = new Path(defaultFSURI + HDFS_USER_FOLDER + 1);
Expand All @@ -604,7 +604,7 @@ public void testNflyWriteRead() throws Exception {
* target file. 3. Tests the read works with repairOnRead flag. 4. Tests that
* previously deleted file fully recovered and exists.
*/
@Test(timeout = 3000)
@Test(timeout = 30000)
public void testNflyRepair() throws Exception {
final NflyFSystem.NflyKey repairKey = NflyFSystem.NflyKey.repairOnRead;
final Path hdfsTargetPath1 = new Path(defaultFSURI + HDFS_USER_FOLDER);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected String getDefaultWorkingDirectory() {
return defaultWorkingDirectory;
}

@Test
@Test(timeout = 60000)
public void testAppend() throws IOException {
AppendTestUtil.testAppend(fs, new Path("/testAppend/f"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void testSnapshotCommandsWithURI()throws Exception {
fs.delete(new Path("/Fully/QPath"), true);
}

@Test (timeout=60000)
@Test (timeout=120000)
public void testSnapshotDiff()throws Exception {
Configuration config = new HdfsConfiguration();
Path snapDirPath = new Path(fs.getUri().toString() + "/snap_dir");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void testSubmitPlanInNonRegularStatus() throws Exception {
* Tests running multiple commands under on setup. This mainly covers
* {@link org.apache.hadoop.hdfs.server.diskbalancer.command.Command#close}
*/
@Test(timeout = 60000)
@Test(timeout = 120000)
public void testRunMultipleCommandsUnderOneSetup() throws Exception {

final int numDatanodes = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private void testStorageTypes(StorageType[][] storageTypes,
* Types.
* @throws IOException
*/
@Test(timeout=60000)
@Test(timeout=120000)
public void testTargetStorageTypes() throws ReconfigurationException,
InterruptedException, TimeoutException, IOException {
// DISK and not anything else.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public void testOffsetPlusLengthParamsLongerThanFile() throws IOException {
}
}

@Test
@Test(timeout = 60000)
public void testResponseCode() throws IOException {
final WebHdfsFileSystem webhdfs = (WebHdfsFileSystem)fs;
final Path root = new Path("/");
Expand Down