[ 
https://issues.apache.org/jira/browse/OAK-6680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182468#comment-16182468
 ] 

Marcel Reutegger commented on OAK-6680:
---------------------------------------

This isn't primarily caused by the platform, but is rather a timing issue. It 
may happen that the started background thread did not yet do anything when the 
main thread finished its work. This will result in the reported test failure. 
It is quite possible this happens more likely on resource constraint systems.

I'll change the test.

> Test failure: DocumentNodeStoreTest.disabledBranchesWithBackgroundWrite
> -----------------------------------------------------------------------
>
>                 Key: OAK-6680
>                 URL: https://issues.apache.org/jira/browse/OAK-6680
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Francesco Mari
>            Assignee: Marcel Reutegger
>              Labels: test-failure
>             Fix For: 1.8
>
>
> {{DocumentNodeStoreTest.disabledBranchesWithBackgroundWrite}} fails when I 
> try a clean build on Windows, as per r1808698.
> {noformat}
> [ERROR] Failures:
> [ERROR]   DocumentNodeStoreTest.disabledBranchesWithBackgroundWrite:3199 
> expected:<1> but was:<0>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to