mirror of https://github.com/apache/lucene.git
SOLR-11912: Clean up left-over collections and defaults between tests.
This commit is contained in:
parent
a9f0272380
commit
82a9984071
|
@ -142,6 +142,9 @@ public class TriggerIntegrationTest extends SolrCloudTestCase {
|
|||
Stat stat = zkClient().setData(SOLR_AUTOSCALING_CONF_PATH, Utils.toJSON(new ZkNodeProps()), true);
|
||||
log.info(SOLR_AUTOSCALING_CONF_PATH + " reset, new znode version {}", stat.getVersion());
|
||||
|
||||
cluster.deleteAllCollections();
|
||||
cluster.getSolrClient().setDefaultCollection(null);
|
||||
|
||||
// restart Overseer. Even though we reset the autoscaling config some already running
|
||||
// trigger threads may still continue to execute and produce spurious events
|
||||
cluster.stopJettySolrRunner(overseerLeaderIndex);
|
||||
|
|
Loading…
Reference in New Issue