hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-15679 Assertion on wrong variable in TestReplicationThrottler#testThrottling
Date Wed, 20 Apr 2016 14:11:24 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 954a41790 -> 3e1bdccc5


HBASE-15679 Assertion on wrong variable in TestReplicationThrottler#testThrottling


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3e1bdccc
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3e1bdccc
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3e1bdccc

Branch: refs/heads/master
Commit: 3e1bdccc53a0a41fc231cf5aec358ace367b0a62
Parents: 954a417
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Apr 20 07:11:17 2016 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Apr 20 07:11:17 2016 -0700

----------------------------------------------------------------------
 .../hbase/replication/regionserver/TestReplicationThrottler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3e1bdccc/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationThrottler.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationThrottler.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationThrottler.java
index e3397a4..8e2618c 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationThrottler.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationThrottler.java
@@ -72,7 +72,7 @@ public class TestReplicationThrottler {
       assertTrue(ticks1 >= 750 && ticks1 <=1000);
     }
     if (ticks2 != 10000 && ticks2 != 9999) {
-      assertTrue(ticks1 >= 7500 && ticks1 <=10000);
+      assertTrue(ticks2 >= 7500 && ticks2 <=10000);
     }
 
     throttler1.resetStartTick();


Mime
View raw message