HDFS-15702. Fix intermittent falilure of TestDecommission#testAllocAndIBRWhileDecommission. (#2507)

This commit is contained in:
Masatake Iwasaki 2021-01-12 04:59:32 +09:00 committed by GitHub
parent d4fd675a95
commit 32abc0af49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);