This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9_0 by this push:
     new cdfa661  SOLR-16019 Supress SSL for test, fix V2ApiIntegrationTest 
test failure (#676)
cdfa661 is described below

commit cdfa66191befb8456a77bc21717d986b0cad94a7
Author: Jan Høydahl <[email protected]>
AuthorDate: Mon Feb 21 16:27:08 2022 +0100

    SOLR-16019 Supress SSL for test, fix V2ApiIntegrationTest test failure 
(#676)
    
    (cherry picked from commit 2e3ae7a138e3683447517e4860d668c633ea9fc5)
---
 solr/core/src/java/org/apache/solr/api/V2HttpCall.java                | 1 +
 solr/core/src/test/org/apache/solr/servlet/HttpSolrCallCloudTest.java | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java 
b/solr/core/src/java/org/apache/solr/api/V2HttpCall.java
index 6493df3..76772f4 100644
--- a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java
+++ b/solr/core/src/java/org/apache/solr/api/V2HttpCall.java
@@ -69,6 +69,7 @@ public class V2HttpCall extends HttpSolrCall {
   }
 
   protected void init() throws Exception {
+    queryParams = SolrRequestParsers.parseQueryString(req.getQueryString());
     String path = this.path;
     final String fullPath = path = path.substring(7);//strip off '/____v2'
     try {
diff --git 
a/solr/core/src/test/org/apache/solr/servlet/HttpSolrCallCloudTest.java 
b/solr/core/src/test/org/apache/solr/servlet/HttpSolrCallCloudTest.java
index 770260a..85dd630 100644
--- a/solr/core/src/test/org/apache/solr/servlet/HttpSolrCallCloudTest.java
+++ b/solr/core/src/test/org/apache/solr/servlet/HttpSolrCallCloudTest.java
@@ -28,6 +28,7 @@ import java.net.URL;
 import java.util.HashSet;
 import java.util.Set;
 
+import org.apache.solr.SolrTestCaseJ4;
 import org.apache.solr.client.solrj.embedded.JettySolrRunner;
 import org.apache.solr.client.solrj.request.CollectionAdminRequest;
 import org.apache.solr.cloud.AbstractDistribZkTestBase;
@@ -37,6 +38,7 @@ import org.eclipse.jetty.server.Response;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
[email protected]
 public class HttpSolrCallCloudTest extends SolrCloudTestCase {
   private static final String COLLECTION = "collection1";
   private static final int NUM_SHARD = 3;

Reply via email to