[
https://issues.apache.org/jira/browse/OAK-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim resolved OAK-12218.
--------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> 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
> Priority: Major
> Fix For: 2.2.0
>
>
> _UnrecoveredRevisionTest_ sets a virtual clock in setup
> _(ClusterNodeInfo.setClock(virtualClock))_ and currently does not reset it in
> {_}tearDown(){_}.
> This leaks static clock state to subsequent tests in the same JVM and causes
> order-dependent failures.
>
> This has caused downstream failure in
> _DocumentDiscoveryLiteServiceIT.testLargeStartStopFiesta_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)