hbase-commits mailing list archives

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

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

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

Modified: hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java?rev=1051719&r1=1051718&r2=1051719&view=diff
==============================================================================
--- hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
(original)
+++ hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java
Wed Dec 22 01:01:07 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