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

View File

@ -389,6 +389,7 @@ public void testTolerateVolumeFailuresAfterAddingMoreVolumes()
DataNodeTestUtils.injectDataDirFailure(dn0Vol2);
DataNodeTestUtils.waitForDiskError(dn0,
DataNodeTestUtils.getVolume(dn0, dn0Vol2));
dn0.checkDiskError();
assertFalse(dn0.shouldRun());
}