Skip to content

Commit 07f65d9

Browse files
author
Andrey Ershov
committed
Mute testCustomDataPaths on Windows
See #45333 (cherry picked from commit 671e1ad)
1 parent ac7604f commit 07f65d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/test/java/org/elasticsearch/env/NodeEnvironmentTests.java

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.apache.logging.log4j.core.appender.AbstractAppender;
3030
import org.apache.lucene.index.SegmentInfos;
3131
import org.elasticsearch.common.logging.Loggers;
32+
import org.apache.lucene.util.Constants;
3233
import org.elasticsearch.common.util.set.Sets;
3334
import org.elasticsearch.core.internal.io.IOUtils;
3435
import org.apache.lucene.util.LuceneTestCase;
@@ -394,6 +395,7 @@ public void run() {
394395
}
395396

396397
public void testCustomDataPaths() throws Exception {
398+
assumeFalse("Fails on Windows, see https://github.com/elastic/elasticsearch/issues/45333", Constants.WINDOWS);
397399
String[] dataPaths = tmpPaths();
398400
NodeEnvironment env = newNodeEnvironment(dataPaths, "/tmp", Settings.EMPTY);
399401

0 commit comments

Comments
 (0)