You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "cpoerschke (via GitHub)" <gi...@apache.org> on 2024/07/23 16:57:00 UTC
Re: [PR] SOLR-17337: Show proper distributed stage id [solr]
cpoerschke commented on code in PR #2526:
URL: https://github.com/apache/solr/pull/2526#discussion_r1688403069
##########
solr/core/src/test/org/apache/solr/handler/component/DebugComponentTest.java:
##########
@@ -297,4 +297,12 @@ private void addRequestId(ResponseBuilder rb, String requestId) {
params.add(CommonParams.REQUEST_ID, requestId);
rb.req.setParams(params);
}
+
+ @Test
+ public void testDistributedStageResolution() throws IOException {
+ assertEquals("PARSE_QUERY", DebugComponent.getDistributedStageName(ResponseBuilder.STAGE_PARSE_QUERY));
Review Comment:
gradlew tidy
```suggestion
assertEquals("PARSE_QUERY",
DebugComponent.getDistributedStageName(ResponseBuilder.STAGE_PARSE_QUERY));
```
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org