Rishabh Daim created OAK-12217:
----------------------------------

             Summary: 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


_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)

Reply via email to