HDFS-13993. TestDataNodeVolumeFailure#testTolerateVolumeFailuresAfterAddingMoreVolumes is flaky. Contributed by Ayush Saxena.
This commit is contained in:
parent
5f0b43fa93
commit
f90c64e624
|
@ -389,6 +389,7 @@ public class TestDataNodeVolumeFailure {
|
||||||
DataNodeTestUtils.injectDataDirFailure(dn0Vol2);
|
DataNodeTestUtils.injectDataDirFailure(dn0Vol2);
|
||||||
DataNodeTestUtils.waitForDiskError(dn0,
|
DataNodeTestUtils.waitForDiskError(dn0,
|
||||||
DataNodeTestUtils.getVolume(dn0, dn0Vol2));
|
DataNodeTestUtils.getVolume(dn0, dn0Vol2));
|
||||||
|
dn0.checkDiskError();
|
||||||
assertFalse(dn0.shouldRun());
|
assertFalse(dn0.shouldRun());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue