muted tests due to #31940

This commit is contained in:
Martijn van Groningen 2018-07-12 11:51:33 +02:00
parent eb8c82a66b
commit ae5c70e603
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
2 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,9 @@ public class RestClientBuilderIntegTests extends RestClientTestCase {
} }
public void testBuilderUsesDefaultSSLContext() throws Exception { public void testBuilderUsesDefaultSSLContext() throws Exception {
assumeFalse("Due to bug inside jdk, this test can't momentarily run with java 11. " +
"See: https://github.com/elastic/elasticsearch/issues/31940",
System.getProperty("java.version").contains("11"));
final SSLContext defaultSSLContext = SSLContext.getDefault(); final SSLContext defaultSSLContext = SSLContext.getDefault();
try { try {
try (RestClient client = buildRestClient()) { try (RestClient client = buildRestClient()) {

View File

@ -127,6 +127,7 @@ public class SmokeTestMonitoringWithSecurityIT extends ESIntegTestCase {
return monitoringUsage.get().getExporters().isEmpty() == false; return monitoringUsage.get().getExporters().isEmpty() == false;
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/31940")
public void testHTTPExporterWithSSL() throws Exception { public void testHTTPExporterWithSSL() throws Exception {
// Ensures that the exporter is actually on // Ensures that the exporter is actually on
assertBusy(() -> assertThat("[_http] exporter is not defined", getMonitoringUsageExportersDefined(), is(true))); assertBusy(() -> assertThat("[_http] exporter is not defined", getMonitoringUsageExportersDefined(), is(true)));