lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject [17/50] [abbrv] lucene-solr:apiv2: SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows
Date Tue, 06 Dec 2016 23:13:12 GMT
SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/eded69ba
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/eded69ba
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/eded69ba

Branch: refs/heads/apiv2
Commit: eded69ba8ff5df5dbeb10c9996a1b591bd9ec243
Parents: 5228c8e
Author: Shalin Shekhar Mangar <shalin@apache.org>
Authored: Sat Nov 26 01:01:22 2016 +0530
Committer: Shalin Shekhar Mangar <shalin@apache.org>
Committed: Sat Nov 26 01:01:22 2016 +0530

----------------------------------------------------------------------
 .../test/org/apache/solr/handler/admin/CoreAdminHandlerTest.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/eded69ba/solr/core/src/test/org/apache/solr/handler/admin/CoreAdminHandlerTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/handler/admin/CoreAdminHandlerTest.java b/solr/core/src/test/org/apache/solr/handler/admin/CoreAdminHandlerTest.java
index 8d2156d..1a596ab 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/CoreAdminHandlerTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/CoreAdminHandlerTest.java
@@ -25,6 +25,7 @@ import java.util.Map;
 
 import com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule;
 import org.apache.commons.io.FileUtils;
+import org.apache.lucene.util.Constants;
 import org.apache.solr.SolrTestCaseJ4;
 import org.apache.solr.client.solrj.embedded.JettySolrRunner;
 import org.apache.solr.client.solrj.impl.HttpSolrClient;
@@ -283,6 +284,7 @@ public class CoreAdminHandlerTest extends SolrTestCaseJ4 {
 
   @Test
   public void testDeleteInstanceDirAfterCreateFailure() throws Exception  {
+    assumeFalse("Ignore test on windows because it does not delete data directory immediately
after unload", Constants.WINDOWS);
     File solrHomeDirectory = new File(initCoreDataDir, getClass().getName() + "-corex-"
         + System.nanoTime());
     solrHomeDirectory.mkdirs();


Mime
View raw message