Skip to content

Commit

Permalink
Mute FsHealthServiceTests testFailsHealthOnIOException (#59382)
Browse files Browse the repository at this point in the history
For #59380
  • Loading branch information
davidkyle committed Jul 13, 2020
1 parent 4c1b081 commit ef8b414
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
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;
Expand Down Expand Up @@ -99,6 +100,8 @@ public void testSchedulesHealthCheckAtRefreshIntervals() throws Exception {
}

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);
Expand Down

0 comments on commit ef8b414

Please sign in to comment.