This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new a0b65cab9db fix jenkins build by fixing java compat
a0b65cab9db is described below
commit a0b65cab9dbb2991661aff621d87ea91538d00e2
Author: Eric Pugh <[email protected]>
AuthorDate: Sat Aug 22 13:52:00 2026 -0400
fix jenkins build by fixing java compat
---
.../core/src/test/org/apache/solr/handler/TestSnapshotCoreBackup.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/solr/core/src/test/org/apache/solr/handler/TestSnapshotCoreBackup.java
b/solr/core/src/test/org/apache/solr/handler/TestSnapshotCoreBackup.java
index 6521ee69c9d..10a32cd7d7c 100644
--- a/solr/core/src/test/org/apache/solr/handler/TestSnapshotCoreBackup.java
+++ b/solr/core/src/test/org/apache/solr/handler/TestSnapshotCoreBackup.java
@@ -18,12 +18,12 @@ package org.apache.solr.handler;
import java.io.File;
import java.io.IOException;
+import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.TimeUnit;
-import org.apache.lucene.index.CheckIndex;
import org.apache.lucene.index.DirectoryReader;
import org.apache.lucene.index.IndexCommit;
import org.apache.lucene.store.Directory;
@@ -469,7 +469,7 @@ public class TestSnapshotCoreBackup extends SolrTestCaseJ4 {
totalFileCount,
((Number) lastRunning.get("finishedFileCount")).intValue());
- simpleBackupCheck(backupDir.resolve("snapshot.progress_backup"), 50);
+ simpleBackupCheck(backupDir.resolve("snapshot.progress_backup").toFile(),
50);
}
/**