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:
Michael Stack 2013-07-02 22:38:35 +00:00
parent ff0196f69a
commit 0814983467
1 changed files with 2 additions and 1 deletions

View File

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