[ 
https://issues.apache.org/jira/browse/OAK-10561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Egli updated OAK-10561:
------------------------------
    Description: 
As noticed eg in OAK-10559 it seems certain data can leak between tests. Eg 
static objects such as Clock (indirectly through Revision.newRevision) or 
System properties. A test could be improperly teared down and eg leave 
background threads running that access eg Clock.

As an extension of this : we could try running tests in parallel to encourage 
misbehaving tests to fail

  was:As noticed eg in OAK-10559 it seems certain data can leak between tests. 
Eg static objects such as Clock (indirectly through Revision.newRevision) or 
System properties. A test could be improperly teared down and eg leave 
background threads running that access eg Clock.


> Avoid leakage between tests
> ---------------------------
>
>                 Key: OAK-10561
>                 URL: https://issues.apache.org/jira/browse/OAK-10561
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Stefan Egli
>            Priority: Major
>
> As noticed eg in OAK-10559 it seems certain data can leak between tests. Eg 
> static objects such as Clock (indirectly through Revision.newRevision) or 
> System properties. A test could be improperly teared down and eg leave 
> background threads running that access eg Clock.
> As an extension of this : we could try running tests in parallel to encourage 
> misbehaving tests to fail



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to