HBASE-15679 Assertion on wrong variable in TestReplicationThrottler#testThrottling
This commit is contained in:
parent
954a41790c
commit
3e1bdccc53
|
@ -72,7 +72,7 @@ public class TestReplicationThrottler {
|
||||||
assertTrue(ticks1 >= 750 && ticks1 <=1000);
|
assertTrue(ticks1 >= 750 && ticks1 <=1000);
|
||||||
}
|
}
|
||||||
if (ticks2 != 10000 && ticks2 != 9999) {
|
if (ticks2 != 10000 && ticks2 != 9999) {
|
||||||
assertTrue(ticks1 >= 7500 && ticks1 <=10000);
|
assertTrue(ticks2 >= 7500 && ticks2 <=10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
throttler1.resetStartTick();
|
throttler1.resetStartTick();
|
||||||
|
|
Loading…
Reference in New Issue