mirror of
https://github.com/apache/lucene.git
synced 2025-02-20 17:07:09 +00:00
Clean up fields after each test, static->instance scope.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d0fcf2e36
commit
53fd5c850d
@ -39,7 +39,7 @@ import org.junit.Test;
|
||||
public abstract class MultiCoreExampleTestBase extends SolrExampleTestBase
|
||||
{
|
||||
// protected static final CoreContainer cores = new CoreContainer();
|
||||
protected static CoreContainer cores;
|
||||
protected CoreContainer cores;
|
||||
private File dataDir2;
|
||||
|
||||
@Override public String getSolrHome() { return ExternalPaths.EXAMPLE_MULTICORE_HOME; }
|
||||
@ -73,6 +73,8 @@ public abstract class MultiCoreExampleTestBase extends SolrExampleTestBase
|
||||
System.err.println("!!!! WARNING: best effort to remove " + dataDir2.getAbsolutePath() + " FAILED !!!!!");
|
||||
}
|
||||
}
|
||||
|
||||
cores = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user