serhiy-bzhezytskyy commented on code in PR #4778:
URL: https://github.com/apache/solr/pull/4778#discussion_r3859786443


##########
solr/core/src/test/org/apache/solr/cloud/DistribDocExpirationUpdateProcessorTest.java:
##########
@@ -288,7 +289,10 @@ private Map<String, ReplicaData> 
getTestDataForAllReplicas()
     for (Replica replica : collectionState.getReplicas()) {
 
       String coreName = replica.getCoreName();
-      try (SolrClient client = getHttpSolrClient(replica)) {
+      try (SolrClient client =

Review Comment:
   Added `MiniSolrCloudCluster.getSolrClient(Replica)`, wrapping 
`getReplicaJetty(replica).getSolrClient()` with `CollectionScopedSolrClient`, 
and switched the call site to it.



-- 
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]

Reply via email to