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

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

commit fa8e7313315ce035d89e9f973d672e366882a64b
Author: Rishabh Kumar <d...@adobe.com>
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 f6e8554252..80dd47dee6 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
@@ -342,7 +342,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;
@@ -356,7 +355,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