HDFS-13993. TestDataNodeVolumeFailure#testTolerateVolumeFailuresAfterAddingMoreVolumes is flaky. Contributed by Ayush Saxena.

This commit is contained in:
Inigo Goiri 2018-10-16 11:22:57 -07:00
parent 5f0b43fa93
commit f90c64e624
1 changed files with 1 additions and 0 deletions

View File

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