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
1 changed files with 2 additions and 0 deletions

View File

@ -976,6 +976,8 @@ public class TestDecommission extends AdminStatesBaseTest {
@Test(timeout=120000) @Test(timeout=120000)
public void testAllocAndIBRWhileDecommission() throws IOException { public void testAllocAndIBRWhileDecommission() throws IOException {
LOG.info("Starting test testAllocAndIBRWhileDecommission"); LOG.info("Starting test testAllocAndIBRWhileDecommission");
getConf().setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY,
DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_DEFAULT);
startCluster(1, 6); startCluster(1, 6);
getCluster().waitActive(); getCluster().waitActive();
FSNamesystem ns = getCluster().getNamesystem(0); FSNamesystem ns = getCluster().getNamesystem(0);