SOLR-12923: Harden AutoScalingHandlerTest.

This commit is contained in:
markrmiller 2018-12-09 00:15:44 -06:00
parent b94911b260
commit 1184fbed63
1 changed files with 1 additions and 0 deletions

View File

@ -792,6 +792,7 @@ public class AutoScalingHandlerTest extends SolrCloudTestCase {
CollectionAdminRequest.Create create = CollectionAdminRequest.Create.createCollection("readApiTestViolations", CONFIGSET_NAME, 1, 6)
.setMaxShardsPerNode(3);
CollectionAdminResponse adminResponse = create.process(solrClient);
cluster.waitForActiveCollection("readApiTestViolations", 1, 6);
assertTrue(adminResponse.isSuccess());
// reset the original cluster policy