mirror of
https://github.com/apache/lucene.git
synced 2025-02-07 10:38:40 +00:00
SOLR-14076: clean up static fields leak in nightly-only test
This commit is contained in:
parent
a6e7c770c2
commit
f083f40b28
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user