From 32abc0af495a7a2fe97b8ee08aac201c767c6623 Mon Sep 17 00:00:00 2001 From: Masatake Iwasaki Date: Tue, 12 Jan 2021 04:59:32 +0900 Subject: [PATCH] HDFS-15702. Fix intermittent falilure of TestDecommission#testAllocAndIBRWhileDecommission. (#2507) --- .../src/test/java/org/apache/hadoop/hdfs/TestDecommission.java | 2 ++ 1 file changed, 2 insertions(+) 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);