serhiy-bzhezytskyy commented on code in PR #4762:
URL: https://github.com/apache/solr/pull/4762#discussion_r3820261772
##########
solr/core/src/test/org/apache/solr/cloud/api/collections/TestCollectionAPI.java:
##########
@@ -737,7 +737,7 @@ private void clusterStatusBadCollectionTest() throws
Exception {
private void replicaPropTest() throws Exception {
try (CloudSolrClient client = createCloudClient(null)) {
- client.connect();
+ client.getClusterStateProvider().getLiveNodes(); // force the connection
now
Review Comment:
Same as the `TestCollectionAPI.java:690` thread -- removed.
AI-assisted (Claude Sonnet 5)
##########
solr/core/src/test/org/apache/solr/cloud/api/collections/TestCollectionAPI.java:
##########
@@ -1204,7 +1204,7 @@ private void testAliasCreationNameValidation() throws
Exception {
private void testShardCreationNameValidation() throws Exception {
try (CloudSolrClient client = createCloudClient(null)) {
- client.connect();
+ client.getClusterStateProvider().getLiveNodes(); // force the connection
now
Review Comment:
Same as the `TestCollectionAPI.java:690` thread -- removed.
AI-assisted (Claude Sonnet 5)
##########
solr/core/src/test/org/apache/solr/cloud/api/collections/TestReplicaProperties.java:
##########
@@ -85,7 +85,7 @@ private void listCollection() throws IOException,
SolrServerException {
private void clusterAssignPropertyTest() throws Exception {
try (CloudSolrClient client = createCloudClient(null)) {
- client.connect();
+ client.getClusterStateProvider().getLiveNodes(); // force the connection
now
Review Comment:
Same as the `TestCollectionAPI.java:690` thread -- removed.
AI-assisted (Claude Sonnet 5)
--
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]