HDFS-10816. TestComputeInvalidateWork#testDatanodeReRegistration fails due to race between test and replication monitor. Contributed by Eric Badger.
This commit is contained in:
parent
7311015ace
commit
e4e203e080
@ -63,6 +63,7 @@ public void setup() throws Exception {
|
||||
namesystem = cluster.getNamesystem();
|
||||
bm = namesystem.getBlockManager();
|
||||
nodes = bm.getDatanodeManager().getHeartbeatManager().getDatanodes();
|
||||
BlockManagerTestUtil.stopRedundancyThread(bm);
|
||||
assertEquals(nodes.length, NUM_OF_DATANODES);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user