HDFS-15702. Fix intermittent falilure of TestDecommission#testAllocAndIBRWhileDecommission. (#2507)
This commit is contained in:
parent
d4fd675a95
commit
32abc0af49
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue