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:
parent
15ef67afe5
commit
92633dcd08
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue