Skip to content

Commit 07c656f

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
package org.elasticsearch.env;
2020

2121
import org.apache.lucene.index.SegmentInfos;
22+
import org.apache.lucene.util.Constants;
2223
import org.elasticsearch.common.util.set.Sets;
2324
import org.elasticsearch.core.internal.io.IOUtils;
2425
import org.apache.lucene.util.LuceneTestCase;
@@ -389,6 +390,7 @@ public void run() {
389390
}
390391

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

0 commit comments

Comments
 (0)