mirror of https://github.com/apache/lucene.git
clear static fields in after class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
497342bd6b
commit
247858615d
|
@ -51,6 +51,7 @@ import org.easymock.Capture;
|
|||
import org.easymock.IAnswer;
|
||||
import org.eclipse.jetty.util.BlockingArrayQueue;
|
||||
import org.junit.After;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
@ -105,6 +106,15 @@ public class OverseerCollectionProcessorTest extends SolrTestCaseJ4 {
|
|||
solrZkClientMock = createMock(SolrZkClient.class);
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
public static void tearDownOnce() {
|
||||
workQueueMock = null;
|
||||
shardHandlerMock = null;
|
||||
zkStateReaderMock = null;
|
||||
clusterStateMock = null;
|
||||
solrZkClientMock = null;
|
||||
}
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
|
Loading…
Reference in New Issue