diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java index 95fbf217343..f7e6dce0033 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommission.java @@ -877,7 +877,7 @@ public class TestDecommission extends AdminStatesBaseTest { * 2. close file with decommissioning * @throws Exception */ - @Test(timeout=180000) + @Test(timeout=360000) public void testDecommissionWithCloseFileAndListOpenFiles() throws Exception { LOG.info("Starting test testDecommissionWithCloseFileAndListOpenFiles"); diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsVolumeList.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsVolumeList.java index 27151d27c02..15495dfd59f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsVolumeList.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsVolumeList.java @@ -358,7 +358,7 @@ public class TestFsVolumeList { assertEquals(200, volume5.getAvailable()); } - @Test(timeout = 60000) + @Test(timeout = 300000) public void testAddRplicaProcessorForAddingReplicaInMap() throws Exception { BlockPoolSlice.reInitializeAddReplicaThreadPool(); Configuration cnf = new Configuration(); diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java index e9a8421fe2e..0e83bec11f3 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java @@ -241,7 +241,7 @@ public class TestBootstrapStandby { * {@link DFSConfigKeys#DFS_IMAGE_TRANSFER_BOOTSTRAP_STANDBY_RATE_KEY} * created by HDFS-8808. */ - @Test(timeout=30000) + @Test(timeout=180000) public void testRateThrottling() throws Exception { cluster.getConfiguration(0).setLong( DFSConfigKeys.DFS_IMAGE_TRANSFER_RATE_KEY, 1);