fsparv commented on code in PR #4080:
URL: https://github.com/apache/solr/pull/4080#discussion_r2778211006
##########
solr/core/src/test/org/apache/solr/handler/V2ApiIntegrationTest.java:
##########
@@ -112,16 +112,16 @@ public void testIntrospect() throws Exception {
@Test
public void testInvalidWTParamReturnsError() throws Exception {
V2Request request = new V2Request.Builder("/c/" + COLL_NAME +
"/get/_introspect").build();
- // Using an invalid wt parameter should return a 500 error
+ // Using an invalid wt parameter should return a 400 error
request.setResponseParser(new InputStreamResponseParser("bleh"));
NamedList<Object> res = cluster.getSolrClient().request(request);
String respString = InputStreamResponseParser.consumeResponseToString(res);
- // Should get a 500 Server Error for unknown writer type
+ // Should get a 400 Server Error for unknown writer type
Review Comment:
"400 Bad Request error"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]