[
https://issues.apache.org/jira/browse/OAK-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902329#comment-14902329
]
Thomas Mueller commented on OAK-3432:
-------------------------------------
http://svn.apache.org/r1704510
Even thought I could not reproduce the problem, I have limited the maximum wait
to 100 ms. Does it still fails for you (you might need to run it a few times)?
> ConcurrentTest.testLoaderBlock fails because of waiting issue
> -------------------------------------------------------------
>
> Key: OAK-3432
> URL: https://issues.apache.org/jira/browse/OAK-3432
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: cache
> Reporter: Francesco Mari
> Assignee: Thomas Mueller
> Fix For: 1.3.7
>
>
> ConcurrentTest.testLoaderBlock fails on my machine. It looks like a timing
> issue.
> {noformat}
> testLoaderBlock(org.apache.jackrabbit.oak.cache.ConcurrentTest) Time
> elapsed: 1.156 sec <<< FAILURE!
> java.lang.AssertionError: Had to wait unexpectedly long for other threads:
> 1010
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at
> org.apache.jackrabbit.oak.cache.ConcurrentTest.testLoaderBlock(ConcurrentTest.java:102)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)