HDFS-12040. TestFsDatasetImpl.testCleanShutdownOfVolume fails. Contributed by hu xiaodong.

This commit is contained in:
Akira Ajisaka 2017-06-27 20:49:10 +09:00
parent 8641a2c08b
commit 07defa4c09
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -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 {