[
https://issues.apache.org/jira/browse/OAK-12217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim resolved OAK-12217.
--------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> reset ClusterNodeInfo clock in DocumentNodeStoreIT tearDown to prevent
> cross-test leakage
> -----------------------------------------------------------------------------------------
>
> Key: OAK-12217
> URL: https://issues.apache.org/jira/browse/OAK-12217
> Project: Jackrabbit Oak
> Issue Type: Task
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
> Fix For: 2.2.0
>
>
> _DocumentNodeStoreIT_ sets a virtual clock via
> _ClusterNodeInfo.setClock(clock)_ in _doUnmergedCommitOnRoot(...)_ but does
> not reset the static clock afterward.
> Because _ClusterNodeInfo.clock_ is JVM-static, later tests in the same
> Surefire fork inherit this virtual clock and can fail nondeterministically.
> This has caused downstream failure in
> _DocumentDiscoveryLiteServiceIT.testLargeStartStopFiesta_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)