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 6010daf8b0
commit 8dfb62029b
1 changed files with 2 additions and 2 deletions

View File

@ -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();