Copilot commented on code in PR #4874:
URL: https://github.com/apache/solr/pull/4874#discussion_r4660683280
##########
solr/core/src/test/org/apache/solr/handler/TestHttpRequestId.java:
##########
@@ -106,7 +106,7 @@ private void setupClientAndRun(
MDC.put(key, value);
cf =
client
- .requestAsync(new SolrPing(), null)
+ .requestAsync(new HealthCheckRequest(), null)
Review Comment:
`HealthCheckRequest` is node-scoped, so it ignores the default collection
and the `/doesnotexist` variants now hit the same healthy endpoint as the
success cases. This removes coverage of MDC propagation through asynchronous
error processing. Send an explicitly invalid request in the failure variants
and assert that those requests complete exceptionally.
--
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]