[
https://issues.apache.org/jira/browse/HBASE-17843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958732#comment-15958732
]
Qilin Cao commented on HBASE-17843:
-----------------------------------
[~Jan Hentschel] Is this a problem?
> JUnit test timed out in TestRegionReplicaFailover.java
> ------------------------------------------------------
>
> Key: HBASE-17843
> URL: https://issues.apache.org/jira/browse/HBASE-17843
> Project: HBase
> Issue Type: Improvement
> Reporter: Qilin Cao
> Priority: Trivial
> Attachments: HBASE-17843-v1.patch
>
>
> Junit test sometimes failed in TestRegionReplicaFailover.java, so I changed
> the testPrimaryRegionKill method test timeout to 240000ms, and add sleep
> 5000ms for verify result.
> error logs:
> Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 285.221 sec
> <<< FAILURE! - in
> org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover
> testPrimaryRegionKill[0](org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover)
> Time elapsed: 125.963 sec <<< ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 120000
> milliseconds
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:460)
> at java.util.concurrent.TimeUnit.timedWait(TimeUnit.java:348)
> at
> org.apache.hadoop.hbase.client.ResultBoundedCompletionService.pollForSpecificCompletedTask(ResultBoundedCompletionService.java:258)
> at
> org.apache.hadoop.hbase.client.ResultBoundedCompletionService.pollForFirstSuccessfullyCompletedTask(ResultBoundedCompletionService.java:214)
> at
> org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.call(RpcRetryingCallerWithReadReplicas.java:209)
> at org.apache.hadoop.hbase.client.HTable.get(HTable.java:428)
> at org.apache.hadoop.hbase.client.HTable.get(HTable.java:392)
> at
> org.apache.hadoop.hbase.HBaseTestingUtility.verifyNumericRows(HBaseTestingUtility.java:2197)
> at
> org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover.verifyNumericRowsWithTimeout(TestRegionReplicaFailover.java:227)
> at
> org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover.testPrimaryRegionKill(TestRegionReplicaFailover.java:200)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)