mirror of https://github.com/apache/lucene.git
tests: avoid FC insanity test for distributed tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bba32d3412
commit
8360a4e387
|
@ -33,6 +33,7 @@ import java.util.Set;
|
|||
import junit.framework.Assert;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.apache.lucene.search.FieldCache;
|
||||
import org.apache.solr.client.solrj.SolrServer;
|
||||
import org.apache.solr.client.solrj.SolrServerException;
|
||||
import org.apache.solr.client.solrj.embedded.JettySolrRunner;
|
||||
|
@ -175,6 +176,7 @@ public abstract class BaseDistributedSearchTestCase extends SolrTestCaseJ4 {
|
|||
if (!AbstractSolrTestCase.recurseDelete(testDir)) {
|
||||
System.err.println("!!!! WARNING: best effort to remove " + testDir.getAbsolutePath() + " FAILED !!!!!");
|
||||
}
|
||||
purgeFieldCache(FieldCache.DEFAULT); // avoid FC insanity
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue