mirror of https://github.com/apache/lucene.git
cleanup RestTestBase in @AfterClass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3180317c8
commit
55424a558a
|
@ -33,10 +33,17 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
|
||||
abstract public class RestTestBase extends SolrJettyTestBase {
|
||||
private static final Logger log = LoggerFactory.getLogger(RestTestBase.class);
|
||||
protected static RestTestHarness restTestHarness;
|
||||
|
||||
@AfterClass
|
||||
public static void cleanUpHarness() {
|
||||
restTestHarness = null;
|
||||
}
|
||||
|
||||
public static void createJettyAndHarness
|
||||
(String solrHome, String configFile, String schemaFile, String context,
|
||||
boolean stopAtShutdown, SortedMap<ServletHolder,String> extraServlets) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue