Apache Lucene open-source search software
SOLR-7073: rename the .jar files to .jar.bin so that the build scripts don't fail
Noble Paul45196378d3fb
diff --git a/solr/core/src/test-files/runtimecode/runtimelibs.jar b/solr/core/src/test-files/runtimecode/runtimelibs.jardeleted file mode 100644index c28d361ccb5..00000000000--- a/solr/core/src/test-files/runtimecode/runtimelibs.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[55c835b234da9cfdd6161938475835af8e85c008] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/solr/core/src/test-files/runtimecode/runtimelibs.jar.bin b/solr/core/src/test-files/runtimecode/runtimelibs.jar.binnew file mode 100644index 00000000000..55c835b234dBinary files /dev/null and b/solr/core/src/test-files/runtimecode/runtimelibs.jar.bin differdiff --git a/solr/core/src/test-files/runtimecode/runtimelibs_v2.jar b/solr/core/src/test-files/runtimecode/runtimelibs_v2.jardeleted file mode 100644index 96f5ab5198e..00000000000--- a/solr/core/src/test-files/runtimecode/runtimelibs_v2.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[226a9dbceea9e942e9e91a33225cc97f400416a5] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/solr/core/src/test-files/runtimecode/runtimelibs_v2.jar.bin b/solr/core/src/test-files/runtimecode/runtimelibs_v2.jar.binnew file mode 100644index 00000000000..226a9dbceeaBinary files /dev/null and b/solr/core/src/test-files/runtimecode/runtimelibs_v2.jar.bin differdiff --git a/solr/core/src/test/org/apache/solr/core/TestDynamicLoading.java b/solr/core/src/test/org/apache/solr/core/TestDynamicLoading.javaindex b02801fdba2..22a96279724 100644--- a/solr/core/src/test/org/apache/solr/core/TestDynamicLoading.java+++ b/solr/core/src/test/org/apache/solr/core/TestDynamicLoading.java@@ -21,7 +21,6 @@ package org.apache.solr.core;import org.apache.solr.client.solrj.SolrClient;import org.apache.solr.client.solrj.impl.HttpSolrClient;import org.apache.solr.cloud.AbstractFullDistribZkTestBase;-import org.apache.solr.common.cloud.ZkStateReader;import org.apache.solr.handler.TestBlobHandler;import org.apache.solr.util.RESTfulServerProvider;import org.apache.solr.util.RestTestHarness;@@ -35,7 +34,6 @@ import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.nio.ByteBuffer;-import java.nio.charset.StandardCharsets;import java.util.ArrayList;import java.util.Arrays;import java.util.List;@@ -157,10 +155,10 @@ public class TestDynamicLoading extends AbstractFullDistribZkTestBase {}ByteBuffer jar = null;-// jar = persistZip("/tmp/runtimelibs.jar", TestDynamicLoading.class, RuntimeLibReqHandler.class, RuntimeLibResponseWriter.class, RuntimeLibSearchComponent.class);+// jar = persistZip("/tmp/runtimelibs.jar.bin", TestDynamicLoading.class, RuntimeLibReqHandler.class, RuntimeLibResponseWriter.class, RuntimeLibSearchComponent.class);// if(true) return;- jar = getFileContent("runtimecode/runtimelibs.jar");+ jar = getFileContent("runtimecode/runtimelibs.jar.bin");TestBlobHandler.postAndCheck(cloudClient, baseURL, blobName, jar, 1);payload = "{\n" +@@ -204,7 +202,7 @@ public class TestDynamicLoading extends AbstractFullDistribZkTestBase {"org.apache.solr.core.RuntimeLibSearchComponent", 10);compareValues(result, MemClassLoader.class.getName(), asList( "loader"));- jar = getFileContent("runtimecode/runtimelibs_v2.jar");+ jar = getFileContent("runtimecode/runtimelibs_v2.jar.bin");TestBlobHandler.postAndCheck(cloudClient, baseURL, blobName, jar, 2);payload = "{\n" +"'update-runtimelib' : { 'name' : 'colltest' ,'version':2}\n" +