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

daim pushed a commit to branch DetailedGC/OAK-10199
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git

commit eb627dede5e24e24a272bf203ab0310a57cf0c03
Author: Rishabh Kumar <[email protected]>
AuthorDate: Mon Jun 19 23:11:30 2023 +0530

    OAK-10199 : fixed the test case with different revision for DetailedGC
---
 .../jackrabbit/oak/plugins/document/VersionGarbageCollectorIT.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollectorIT.java
 
b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollectorIT.java
index 56e9b8ec94..84b8ceed11 100644
--- 
a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollectorIT.java
+++ 
b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollectorIT.java
@@ -343,7 +343,6 @@ public class VersionGarbageCollectorIT {
 
     // Test when we have more than 1000 deleted properties with different 
revisions
     @Test
-    @Ignore
     public void testGCDeletedProps_2() throws Exception {
         //1. Create nodes with properties
         NodeBuilder b1 = null;
@@ -357,7 +356,7 @@ public class VersionGarbageCollectorIT {
             }
             store.merge(b1, EmptyHook.INSTANCE, CommitInfo.EMPTY);
             // increase the clock to create new revision for next batch
-            clock.waitUntil(Revision.getCurrentTimestamp() + 
SECONDS.toMillis(k * 5));
+            clock.waitUntil(Revision.getCurrentTimestamp() + (k * 5));
         }
 
         // enable the detailed gc flag

Reply via email to