diff --git a/plugin/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java b/plugin/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java index f7c2fd789c4..e20e35ffc96 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java @@ -10,6 +10,7 @@ import org.apache.http.HttpHeaders; import org.apache.http.client.ClientProtocolException; import org.apache.logging.log4j.message.ParameterizedMessage; import org.apache.logging.log4j.util.Supplier; +import org.apache.lucene.util.Constants; import org.elasticsearch.common.settings.MockSecureSettings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.unit.ByteSizeUnit; @@ -498,6 +499,7 @@ public class HttpClientTests extends ESTestCase { } public void testThatBodyWithUTF8Content() throws Exception { + assumeTrue("This test fails under windows, disabled temporary",Constants.WINDOWS == false); String body = "title あいうえお"; webServer.enqueue(new MockResponse().setResponseCode(200).setBody(body));