SOLR-13650 : test jars recompiled with jdk8

This commit is contained in:
noble 2019-08-27 14:57:48 +10:00
parent 764747e8b2
commit ea940347a7
4 changed files with 9 additions and 9 deletions

View File

@ -66,11 +66,11 @@ openssl dgst -sha512 runtimelibs_v3.jar.bin
openssl dgst -sha512 cache.jar.bin openssl dgst -sha512 cache.jar.bin
1a3739b629ce85895c9b2a8c12dd7d98161ff47634b0693f1e1c5b444fb38343f95c6ee955cd99103bd24cfde6c205234b63823818660ac08392cdc626caf585 8946650ba88919cea2f81e4771c418411f61837b2a276088c2f2c86ef2d730f152ccf5975fa8a2c7035a1f00de1994a7788676d95dc7ccea6aaf28c7fff1f46b
openssl dgst -sha512 cache_v2.jar.bin openssl dgst -sha512 cache_v2.jar.bin
aa3f42fb640636dd8126beca36ac389486d0fcb1c3a2e2c387d043d57637535ce8db3b17983853322f78bb8f447ed75fe7b405675debe652ed826ee95e8ce328 873337e67b90b7ff99df012b2e9093c63079c37a564643d34861a88c4cbaf0698ebb096905929d69cdbde3b4d29d55e31db24ee05c01b39c0b75a16e54eb4335
=============sha256============================ =============sha256============================
@ -88,10 +88,10 @@ openssl dgst -sha256 runtimelibs_v3.jar.bin
openssl dgst -sha256 cache.jar.bin openssl dgst -sha256 cache.jar.bin
380c2a61759f01b4d5d2570496c3d2737e3cc6968347faa94d93e906e03e077f 32e8b5b2a95ea306538b52017f0954aa1b0f8a8b2d0acbc498fd0e66a223f7bd
openssl dgst -sha256 cache_v2.jar.bin openssl dgst -sha256 cache_v2.jar.bin
22551e42e6fd9646a641ebc1380472ec66fba62f35febad46c8165376b41161d 0f670f6dcc2b00f9a448a7ebd457d4ff985ab702c85cdb3608dcae9889e8d702

View File

@ -663,7 +663,7 @@ public class TestContainerReqHandler extends SolrCloudTestCase {
} }
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/SOLR-13650") // @AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/SOLR-13650")
public void testCacheLoadFromPackage() throws Exception { public void testCacheLoadFromPackage() throws Exception {
String COLLECTION_NAME = "globalCacheColl"; String COLLECTION_NAME = "globalCacheColl";
Map<String, Object> jars = Utils.makeMap( Map<String, Object> jars = Utils.makeMap(
@ -684,7 +684,7 @@ public class TestContainerReqHandler extends SolrCloudTestCase {
.configure(); .configure();
try { try {
String payload = "{add-package:{name : 'cache_pkg', url: 'http://localhost:" + port + "/jar1.jar', " + String payload = "{add-package:{name : 'cache_pkg', url: 'http://localhost:" + port + "/jar1.jar', " +
"sha256 : '380c2a61759f01b4d5d2570496c3d2737e3cc6968347faa94d93e906e03e077f'}}"; "sha256 : '32e8b5b2a95ea306538b52017f0954aa1b0f8a8b2d0acbc498fd0e66a223f7bd'}}";
new V2Request.Builder("/cluster") new V2Request.Builder("/cluster")
.withPayload(payload) .withPayload(payload)
@ -729,15 +729,15 @@ public class TestContainerReqHandler extends SolrCloudTestCase {
.setWaitSearcher(true); .setWaitSearcher(true);
cluster.getSolrClient().request(req, COLLECTION_NAME); cluster.getSolrClient().request(req, COLLECTION_NAME);
SolrQuery solrQuery = new SolrQuery("q", "*:*", "collection", COLLECTION_NAME); SolrQuery solrQuery = new SolrQuery("q", "id:1", "collection", COLLECTION_NAME);
assertResponseValues(10, assertResponseValues(10,
cluster.getSolrClient(), cluster.getSolrClient(),
new QueryRequest(solrQuery), new QueryRequest(solrQuery),
Utils.makeMap("response[0]/id", "1")); Utils.makeMap("/response[0]/my_synthetic_fld_s", "version_1"));
payload = "{update-package:{name : 'cache_pkg', url: 'http://localhost:" + port + "/jar2.jar', " + payload = "{update-package:{name : 'cache_pkg', url: 'http://localhost:" + port + "/jar2.jar', " +
"sha256 : '22551e42e6fd9646a641ebc1380472ec66fba62f35febad46c8165376b41161d'}}"; "sha256 : '0f670f6dcc2b00f9a448a7ebd457d4ff985ab702c85cdb3608dcae9889e8d702'}}";
new V2Request.Builder("/cluster") new V2Request.Builder("/cluster")
.withPayload(payload) .withPayload(payload)
.withMethod(SolrRequest.METHOD.POST) .withMethod(SolrRequest.METHOD.POST)