HBASE-8854 TestScannersFromClientSide.testScanBatch failed with 'There should have room before prefetching is submitted'
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1499136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ff0196f69a
commit
0814983467
|
@ -508,7 +508,8 @@ public class TestScannersFromClientSide {
|
|||
// and there was still room before it's scheduled
|
||||
long sizeBefore = RegionScannerHolder.getPrefetchedResultSize()
|
||||
- rsh.currentPrefetchedResultSize();
|
||||
assertTrue("There should have room before prefetching is submitted",
|
||||
assertTrue("There should have room before prefetching is submitted, maxSize=" +
|
||||
this.maxSize + ", prefetching=" + prefetching + ", sizeBefore=" + sizeBefore,
|
||||
prefetching && sizeBefore < this.maxSize);
|
||||
}
|
||||
if (isPrefetchSubmitted && rsh.waitForPrefetchingDone()) {
|
||||
|
|
Loading…
Reference in New Issue