HDFS-12040. TestFsDatasetImpl.testCleanShutdownOfVolume fails. Contributed by hu xiaodong.
This commit is contained in:
parent
8641a2c08b
commit
07defa4c09
|
@ -687,7 +687,7 @@ public class TestFsDatasetImpl {
|
||||||
@Override public Boolean get() {
|
@Override public Boolean get() {
|
||||||
return volume.getReferenceCount() == 0;
|
return volume.getReferenceCount() == 0;
|
||||||
}
|
}
|
||||||
}, 100, 10);
|
}, 100, 1000);
|
||||||
assertThat(dataNode.getFSDataset().getNumFailedVolumes(), is(1));
|
assertThat(dataNode.getFSDataset().getNumFailedVolumes(), is(1));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue