[
https://issues.apache.org/jira/browse/HBASE-11830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537857#comment-14537857
]
Stephen Yuan Jiang commented on HBASE-11830:
--------------------------------------------
Attach a patch to relax the strict restriction that we expect certain operation
run under 1ms. I use 75% of expected value - i think as long as throttling
happens, a little short sleep time does not matter much.
> TestReplicationThrottler.testThrottling failed on virtual boxes
> ---------------------------------------------------------------
>
> Key: HBASE-11830
> URL: https://issues.apache.org/jira/browse/HBASE-11830
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 2.0.0, 1.1.0, 1.2.0
> Environment: kvm with Centos 6.5, openjdk1.7
> Reporter: Sergey Soldatov
> Assignee: Stephen Yuan Jiang
> Priority: Minor
> Attachments: HBASE-11830.patch
>
>
> during test runs TestReplicationThrottler.testThrottling sometimes fails with
> assertion
> testThrottling(org.apache.hadoop.hbase.replication.regionserver.TestReplicationThrottler)
> Time elapsed: 0.229 sec <<< FAILURE!
> 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:69)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)