cpoerschke commented on code in PR #3053:
URL: https://github.com/apache/solr/pull/3053#discussion_r2291597659


##########
solr/core/src/test/org/apache/solr/handler/TestSnapshotCoreBackup.java:
##########
@@ -452,7 +452,8 @@ private static void simpleBackupCheck(
           Files.exists(backup.resolve(expectedSegmentsFileName)));
     }
     try (Directory dir = FSDirectory.open(backup)) {
-      TestUtil.checkIndex(dir, true, true, true, null);
+      // Lucene 10 changed CheckIndex levels from 0-3 to 1-3, so we use 1 
(minimum level)
+      TestUtil.checkIndex(dir, 1, true, true, null);

Review Comment:
   minor: `CheckIndex.Level.*` enum could be used here -- I can include that in 
#3495



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to