lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1582577 - /lucene/dev/branches/solr5914/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/AbstractSolrMorphlineZkTestBase.java
Date Fri, 28 Mar 2014 01:32:30 GMT
Author: markrmiller
Date: Fri Mar 28 01:32:29 2014
New Revision: 1582577

URL: http://svn.apache.org/r1582577
Log:
SOLR-5914: Fix morphlines contrib tests use of solrhome.

Modified:
    lucene/dev/branches/solr5914/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/AbstractSolrMorphlineZkTestBase.java

Modified: lucene/dev/branches/solr5914/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/AbstractSolrMorphlineZkTestBase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solr5914/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/AbstractSolrMorphlineZkTestBase.java?rev=1582577&r1=1582576&r2=1582577&view=diff
==============================================================================
--- lucene/dev/branches/solr5914/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/AbstractSolrMorphlineZkTestBase.java
(original)
+++ lucene/dev/branches/solr5914/solr/contrib/morphlines-core/src/test/org/apache/solr/morphlines/solr/AbstractSolrMorphlineZkTestBase.java
Fri Mar 28 01:32:29 2014
@@ -46,7 +46,7 @@ import com.google.common.collect.ListMul
 import com.typesafe.config.Config;
 
 public abstract class AbstractSolrMorphlineZkTestBase extends AbstractFullDistribZkTestBase
{
-  private static final File solrHomeDirectory = createTempDir();
+  private static File solrHomeDirectory;
   
   protected static final String RESOURCES_DIR = getFile("morphlines-core.marker").getParent();
 
   private static final File SOLR_INSTANCE_DIR = new File(RESOURCES_DIR + "/solr");
@@ -68,6 +68,7 @@ public abstract class AbstractSolrMorphl
   
   @BeforeClass
   public static void setupClass() throws Exception {
+    solrHomeDirectory = createTempDir();
     AbstractZkTestCase.SOLRHOME = solrHomeDirectory;
     FileUtils.copyDirectory(SOLR_INSTANCE_DIR, solrHomeDirectory);
   }



Mime
View raw message