You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2016/04/25 23:12:54 UTC
[10/50] [abbrv] hbase git commit: HBASE-15679 Assertion on wrong
variable in TestReplicationThrottler#testThrottling
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/HBASE-14850
Commit: 3e1bdccc53a0a41fc231cf5aec358ace367b0a62
Parents: 954a417
Author: tedyu <yu...@gmail.com>
Authored: Wed Apr 20 07:11:17 2016 -0700
Committer: tedyu <yu...@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();