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();
|
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…
x
Reference in New Issue
Block a user