HBASE-19485 Minor improvement to TestCompactedHFilesDischarger (Ram)
Signed off by : Ted Yu <yuzhihong@gmail.com>
This commit is contained in:
parent
6010daf8b0
commit
8dfb62029b
|
@ -383,8 +383,8 @@ public class TestCompactedHFilesDischarger {
|
||||||
latch.await();
|
latch.await();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
while (!next) {
|
while (next) {
|
||||||
resScanner.next(results);
|
next = resScanner.next(results);
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
scanCompletedCounter.incrementAndGet();
|
scanCompletedCounter.incrementAndGet();
|
||||||
|
|
Loading…
Reference in New Issue