From 07b5d22d91ba7f196dc64a1254a5337278fd2e14 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Fri, 28 Aug 2015 05:06:35 -0400 Subject: [PATCH] disable new test on windows --- .../java/org/elasticsearch/index/shard/NewPathForShardTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/test/java/org/elasticsearch/index/shard/NewPathForShardTest.java b/core/src/test/java/org/elasticsearch/index/shard/NewPathForShardTest.java index 61e4924c32f..d89c328d9dd 100644 --- a/core/src/test/java/org/elasticsearch/index/shard/NewPathForShardTest.java +++ b/core/src/test/java/org/elasticsearch/index/shard/NewPathForShardTest.java @@ -23,6 +23,7 @@ import com.carrotsearch.randomizedtesting.annotations.Repeat; import org.apache.lucene.mockfile.FilterFileSystem; import org.apache.lucene.mockfile.FilterFileSystemProvider; import org.apache.lucene.mockfile.FilterPath; +import org.apache.lucene.util.Constants; import org.elasticsearch.cluster.metadata.IndexMetaData; import org.elasticsearch.common.SuppressForbidden; import org.elasticsearch.common.io.PathUtils; @@ -182,6 +183,7 @@ public class NewPathForShardTest extends ESTestCase { } public void testSelectNewPathForShard() throws Exception { + assumeFalse("Consistenty fails on windows ('could not remove the following files')", Constants.WINDOWS); Path path = PathUtils.get(createTempDir().toString()); // Use 2 data paths: