[
https://issues.apache.org/jira/browse/HBASE-14422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352523#comment-15352523
]
Konstantin Ryakhovskiy commented on HBASE-14422:
------------------------------------------------
so, as a temporary solution we can increase PAUSE_TIME and decrease
FAST_FAIL_THRESHOLD, so that the "unliky" timing can occur with less
probability.
as a long-term solution I would just remove the verification for T-2 before
increasing "done" counter.
> Fix TestFastFailWithoutTestUtil
> -------------------------------
>
> Key: HBASE-14422
> URL: https://issues.apache.org/jira/browse/HBASE-14422
> Project: HBase
> Issue Type: Task
> Components: test
> Reporter: stack
> Priority: Minor
> Labels: beginner
>
> TestFastFailWithoutTestUtil has a unit test that does
> testInterceptorIntercept50Times Usually it passes but on occasion, the
> latching between thread 1 and thread 2 goes awry and the test hangs and the
> test hangs out. Depends on the hardware but it seems to happen about one in
> four runs here on an internal rig.
> HBASE-14421 changed the wait-on-latch to timeout and do a thread dump and
> just let the test keep going.
> This issue is about digging in on figuring why the hang up on latches and
> then fixing it so the test doesn't have to have the latch timeout. Hopefully
> the threaddump helps.
> This one could be hard to fix since it not easy to reproduce. Marking it
> beginner anyways.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)