We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003d9f0 commit 18b4540Copy full SHA for 18b4540
test/test-clusters/src/test/java/org/elasticsearch/test/cluster/util/IOUtilsTests.java
@@ -9,6 +9,7 @@
9
10
package org.elasticsearch.test.cluster.util;
11
12
+import org.junit.Assume;
13
import org.junit.Test;
14
15
import java.io.IOException;
@@ -56,6 +57,8 @@ private void assertFileExists(Path path) throws IOException {
56
57
58
@Test
59
public void testSyncWithLinksThrowExceptionWhenDestinationIsNotWritable() throws IOException {
60
+ Assume.assumeFalse("On Windows read-only directories are not supported", OS.current() == OS.WINDOWS);
61
+
62
// given
63
Path sourceDir = Files.createTempDirectory("sourceDir");
64
Files.createFile(sourceDir.resolve("file1.txt"));
0 commit comments