mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 11:35:14 +00:00
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);
|
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());
|
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
|
// restart Overseer. Even though we reset the autoscaling config some already running
|
||||||
// trigger threads may still continue to execute and produce spurious events
|
// trigger threads may still continue to execute and produce spurious events
|
||||||
cluster.stopJettySolrRunner(overseerLeaderIndex);
|
cluster.stopJettySolrRunner(overseerLeaderIndex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user