HoustonPutman commented on code in PR #4046:
URL: https://github.com/apache/solr/pull/4046#discussion_r2691313194


##########
solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java:
##########
@@ -415,6 +420,25 @@ protected static CoreStatusResponse.SingleCoreData 
getCoreStatus(Replica replica
     }
   }
 
+  protected CollectionAdminRequest.RequestStatusResponse 
waitForAsyncClusterRequest(
+      String asyncId, Duration timeout)
+      throws SolrServerException, IOException, InterruptedException {
+    CollectionAdminRequest.RequestStatus requestStatus =
+        CollectionAdminRequest.requestStatus(asyncId);
+    CollectionAdminRequest.RequestStatusResponse rsp = null;
+    TimeOut timeoutCheck = new TimeOut(timeout, TimeSource.NANO_TIME);

Review Comment:
   I can switch over to that.



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