Tests: Silence test under windows as it fails

Relates elastic/x-pack-elasticsearch#3498

Original commit: elastic/x-pack-elasticsearch@2dda8851e4
This commit is contained in:
Alexander Reelsen 2018-01-08 14:37:33 +01:00
parent b2493aad8d
commit f80f1dd268

View File

@ -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));