From 7dcd943e1d99798aa848b618d70da19473b25cbe Mon Sep 17 00:00:00 2001 From: David Kyle Date: Mon, 13 Jul 2020 09:45:33 +0100 Subject: [PATCH] Mute FsHealthServiceTests testFailsHealthOnIOException (#59382) For #59380 --- .../org/elasticsearch/monitor/fs/FsHealthServiceTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/test/java/org/elasticsearch/monitor/fs/FsHealthServiceTests.java b/server/src/test/java/org/elasticsearch/monitor/fs/FsHealthServiceTests.java index 66ff3273639..14bda6f4f44 100644 --- a/server/src/test/java/org/elasticsearch/monitor/fs/FsHealthServiceTests.java +++ b/server/src/test/java/org/elasticsearch/monitor/fs/FsHealthServiceTests.java @@ -26,6 +26,7 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.lucene.mockfile.FilterFileChannel; import org.apache.lucene.mockfile.FilterFileSystemProvider; +import org.apache.lucene.util.Constants; import org.elasticsearch.cluster.coordination.DeterministicTaskQueue; import org.elasticsearch.common.io.PathUtils; import org.elasticsearch.common.io.PathUtilsForTesting; @@ -99,6 +100,8 @@ public class FsHealthServiceTests extends ESTestCase { } public void testFailsHealthOnIOException() throws IOException { + assumeFalse("https://github.com/elastic/elasticsearch/issues/59380", Constants.WINDOWS); + FileSystem fileSystem = PathUtils.getDefaultFileSystem(); FileSystemIOExceptionProvider disruptFileSystemProvider = new FileSystemIOExceptionProvider(fileSystem); fileSystem = disruptFileSystemProvider.getFileSystem(null);