HBASE-19485 Minor improvement to TestCompactedHFilesDischarger (Ram)
Signed off by : Ted Yu <yuzhihong@gmail.com>
This commit is contained in:
parent
08d6b55750
commit
eb67ee0d0f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue