Rishabh Daim created OAK-12218:
----------------------------------

             Summary: reset ClusterNodeInfo clock in UnrecoveredRevisionTest 
tearDown to avoid CI flakiness
                 Key: OAK-12218
                 URL: https://issues.apache.org/jira/browse/OAK-12218
             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