From 0814983467782661279e53f2460bbf7a0244e5b9 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 2 Jul 2013 22:38:35 +0000 Subject: [PATCH] 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 --- .../apache/hadoop/hbase/client/TestScannersFromClientSide.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java index c258d1c2f2e..df835f7c57b 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java @@ -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()) {