HBASE-19485 Minor improvement to TestCompactedHFilesDischarger (Ram)

Signed off by : Ted Yu <yuzhihong@gmail.com>
This commit is contained in:
Vasudevan 2017-12-11 22:53:46 +05:30
parent 08d6b55750
commit eb67ee0d0f
1 changed files with 2 additions and 2 deletions

View File

@ -383,8 +383,8 @@ public class TestCompactedHFilesDischarger {
latch.await();
} catch (InterruptedException e) {
}
while (!next) {
resScanner.next(results);
while (next) {
next = resScanner.next(results);
}
} finally {
scanCompletedCounter.incrementAndGet();