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:
Chris M. Hostetter 2014-02-11 17:32:57 +00:00
parent e3180317c8
commit 55424a558a
1 changed files with 7 additions and 0 deletions

View File

@ -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 {