You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by da...@apache.org on 2026/05/18 12:48:27 UTC

(jackrabbit-oak) branch trunk updated: OAK-12218 : reset virtual clock in test teardown (#2906)

This is an automated email from the ASF dual-hosted git repository.

rishabhdaim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 76dfeea912 OAK-12218 : reset virtual clock in test teardown (#2906)
76dfeea912 is described below

commit 76dfeea912adff9e53357fb36a4e6aae1efae0c7
Author: Rishabh Kumar <ri...@gmail.com>
AuthorDate: Mon May 18 18:18:21 2026 +0530

    OAK-12218 : reset virtual clock in test teardown (#2906)
---
 .../apache/jackrabbit/oak/plugins/document/UnrecoveredRevisionTest.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/UnrecoveredRevisionTest.java b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/UnrecoveredRevisionTest.java
index 9e38aa0888..da6dd40744 100644
--- a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/UnrecoveredRevisionTest.java
+++ b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/UnrecoveredRevisionTest.java
@@ -310,6 +310,7 @@ public class UnrecoveredRevisionTest {
     public void tearDown() throws Exception {
         store.getRemainingOps().set(Integer.MAX_VALUE);
         System.clearProperty("oak.documentMK.createOrUpdateBatchSize");
+        ClusterNodeInfo.resetClockToDefault();
     }
     
     private void assertChildren(DocumentNodeStore ns, String... childPaths) {