hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1051718 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
Date Wed, 22 Dec 2010 01:00:39 GMT
Author: jdcryans
Date: Wed Dec 22 01:00:39 2010
New Revision: 1051718

URL: http://svn.apache.org/viewvc?rev=1051718&view=rev
Log:
Fixing a check in TestReplication

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java?rev=1051718&r1=1051717&r2=1051718&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java Wed
Dec 22 01:00:39 2010
@@ -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;



Mime
View raw message