bhabegger commented on code in PR #2765:
URL: https://github.com/apache/jackrabbit-oak/pull/2765#discussion_r2903977538


##########
oak-run/src/test/java/org/apache/jackrabbit/oak/index/IncrementalStoreTest.java:
##########
@@ -143,15 +143,25 @@ public void tear() {
         c.getDatabase().drop();
     }
 
+    static void resetSystemProperties() {
+        System.clearProperty(OAK_INDEXER_USE_LZ4);
+        System.clearProperty(OAK_INDEXER_USE_ZIP);
+        
System.clearProperty(OAK_INDEXER_PIPELINED_MONGO_CUSTOM_EXCLUDE_ENTRIES_REGEX);
+        System.clearProperty(OAK_INDEXER_PIPELINED_MONGO_REGEX_PATH_FILTERING);
+        
System.clearProperty(OAK_INDEXER_PIPELINED_MONGO_CUSTOM_EXCLUDED_PATHS);
+    }
+
     @Test
     public void testWithNoCompression() throws Exception {
+        resetSystemProperties();

Review Comment:
   In `@Before` rather than repeating ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to