mirror of https://github.com/apache/lucene.git
tests: temp hack to close unused core container
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c711709168
commit
7c80b7e7a0
|
@ -42,23 +42,28 @@ public abstract class AbstractZkTestCase extends SolrTestCaseJ4 {
|
|||
protected static Logger log = LoggerFactory
|
||||
.getLogger(AbstractZkTestCase.class);
|
||||
|
||||
protected ZkTestServer zkServer;
|
||||
protected static ZkTestServer zkServer;
|
||||
|
||||
protected String zkDir;
|
||||
protected static String zkDir;
|
||||
|
||||
public AbstractZkTestCase() {
|
||||
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
public static void beforeClass() throws Exception {
|
||||
public static void azt_beforeClass() throws Exception {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
super.setUp();
|
||||
|
||||
if (h != null) {
|
||||
log.warn("HACK: closing previous test harness");
|
||||
h.close();
|
||||
h=null;
|
||||
}
|
||||
|
||||
zkDir = dataDir.getAbsolutePath() + File.separator
|
||||
+ "zookeeper/server1/data";
|
||||
zkServer = new ZkTestServer(zkDir);
|
||||
|
|
Loading…
Reference in New Issue