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 04731918f0..cb4cefb020 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 @@ -976,6 +976,8 @@ public void testCloseWhileDecommission() throws IOException, @Test(timeout=120000) public void testAllocAndIBRWhileDecommission() throws IOException { LOG.info("Starting test testAllocAndIBRWhileDecommission"); + getConf().setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY, + DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_DEFAULT); startCluster(1, 6); getCluster().waitActive(); FSNamesystem ns = getCluster().getNamesystem(0);