SOLR-14076: clean up static fields leak in nightly-only test

This commit is contained in:
Robert Muir 2019-12-13 04:06:07 -05:00
parent a6e7c770c2
commit f083f40b28

View File

@ -51,6 +51,7 @@ import org.apache.solr.common.util.Utils;
import org.apache.solr.core.SolrResourceLoader;
import org.apache.solr.util.LogLevel;
import org.apache.zookeeper.data.Stat;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
@ -93,6 +94,11 @@ public class SearchRateTriggerIntegrationTest extends SolrCloudTestCase {
}
@AfterClass
public static void cleanUpAfterClass() throws Exception {
cloudManager = null;
}
@Before
public void beforeTest() throws Exception {
cluster.deleteAllCollections();