You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by an...@apache.org on 2024/05/10 14:24:07 UTC
(solr) 02/03: Correction
This is an automated email from the ASF dual-hosted git repository.
andywebb pushed a commit to branch solr-17263h
in repository https://gitbox.apache.org/repos/asf/solr.git
commit fa9d36a8b5955173b2ad168ddab48c7c2f465508
Author: Andy Webb <an...@apache.org>
AuthorDate: Fri May 10 15:22:42 2024 +0100
Correction
---
.../org/apache/solr/client/solrj/impl/HttpSolrClientTestBase.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientTestBase.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientTestBase.java
index 4ab6110b102..78669fe5e02 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientTestBase.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientTestBase.java
@@ -129,7 +129,7 @@ public abstract class HttpSolrClientTestBase extends SolrJettyTestBase {
assertEquals(expectedUserAgent(), DebugServlet.headers.get("user-agent"));
assertEquals("application/x-www-form-urlencoded", DebugServlet.headers.get("content-type"));
// this validates that URI encoding has been applied - the content-length is smaller if not
- assertEquals("83", DebugServlet.headers.get("content-length"));
+ assertEquals("44", DebugServlet.headers.get("content-length"));
}
public void testQueryPut() throws Exception {
@@ -144,7 +144,7 @@ public abstract class HttpSolrClientTestBase extends SolrJettyTestBase {
assertEquals("\u1234{}", DebugServlet.parameters.get("a")[0]);
assertEquals(expectedUserAgent(), DebugServlet.headers.get("user-agent"));
assertEquals("application/x-www-form-urlencoded", DebugServlet.headers.get("content-type"));
- assertEquals("83", DebugServlet.headers.get("content-length"));
+ assertEquals("44", DebugServlet.headers.get("content-length"));
}
public void testQueryXmlGet() throws Exception {