Skip to content

Commit

Permalink
back out more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Sep 29, 2023
1 parent 5145071 commit 4ac2b7d
Showing 1 changed file with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public void shutdown() throws Exception {
IOUtils.closeQuietly(c);
});
solrClientByCollection.clear();
;

List<Callable<JettySolrRunner>> shutdowns = new ArrayList<>(jettys.size());
for (final JettySolrRunner jetty : jettys) {
shutdowns.add(() -> stopJettySolrRunner(jetty));
Expand Down Expand Up @@ -934,11 +934,7 @@ public static CollectionStatePredicate expectedShardsAndActiveReplicas(
}
}
}
if (activeReplicas == expectedReplicas) {
return true;
}

return false;
return activeReplicas == expectedReplicas;
};
}

Expand Down Expand Up @@ -1032,7 +1028,6 @@ public static class Builder {
private String solrXml = DEFAULT_CLOUD_SOLR_XML;
private JettyConfig.Builder jettyConfigBuilder;
private Optional<String> securityJson = Optional.empty();
private String credentials;

private List<Config> configs = new ArrayList<>();
private Map<String, Object> clusterProperties = new HashMap<>();
Expand Down Expand Up @@ -1109,17 +1104,6 @@ public Builder withSecurityJson(String securityJson) {
return this;
}

/**
* Configure the solrClients for the {@linkplain MiniSolrCloudCluster}
*
* @param credentials The string specifying the username:password to use
* @return the instance of {@linkplain Builder}
*/
public Builder withCredentials(String credentials) {
this.credentials = credentials;
return this;
}

/**
* Upload a collection config before tests start
*
Expand Down

0 comments on commit 4ac2b7d

Please sign in to comment.