Fixing a check in TestReplication

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1051718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2010-12-22 01:00:39 +00:00
parent 15ef67afe5
commit 92633dcd08
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ public class TestReplication {
Result[] res = scanner.next(NB_ROWS_IN_BIG_BATCH);
scanner.close();
if (res.length != 0) {
if (lastCount < res.length) {
if (res.length < lastCount) {
i--; // Don't increment timeout if we make progress
}
lastCount = res.length;