mirror of https://github.com/apache/lucene.git
tests: clean up statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28abd3f23d
commit
e893b4dd54
|
@ -39,7 +39,6 @@ public class TestJsonRequest extends SolrTestCaseHS {
|
|||
public static void initServers() throws Exception {
|
||||
if (servers == null) {
|
||||
servers = new SolrInstances(3, "solrconfig-tlog.xml","schema_latest.xml");
|
||||
servers = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,6 +47,7 @@ public class TestJsonRequest extends SolrTestCaseHS {
|
|||
JSONTestUtil.failRepeatedKeys = false;
|
||||
if (servers != null) {
|
||||
servers.stop();
|
||||
servers = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue