Description
Sometimes TestReplicationThrottler#testThrottling failed with:
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.apache.hadoop.hbase.replication.regionserver.TestReplicationThrottler.testThrottling(TestReplicationThrottler.java:75)
Looking closer, we can see that the wrong variable is used for the assertion:
if (ticks2 != 10000 && ticks2 != 9999) {
assertTrue(ticks1 >= 7500 && ticks1 <=10000);
}