Skip to content

Commit ae5c70e

Browse files
committed
muted tests due to elastic#31940
1 parent eb8c82a commit ae5c70e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

client/rest/src/test/java/org/elasticsearch/client/RestClientBuilderIntegTests.java

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ public static void stopHttpServers() throws IOException {
7272
}
7373

7474
public void testBuilderUsesDefaultSSLContext() throws Exception {
75+
assumeFalse("Due to bug inside jdk, this test can't momentarily run with java 11. " +
76+
"See: https://github.com/elastic/elasticsearch/issues/31940",
77+
System.getProperty("java.version").contains("11"));
7578
final SSLContext defaultSSLContext = SSLContext.getDefault();
7679
try {
7780
try (RestClient client = buildRestClient()) {

x-pack/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestMonitoringWithSecurityIT.java

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ private boolean getMonitoringUsageExportersDefined() throws Exception {
127127
return monitoringUsage.get().getExporters().isEmpty() == false;
128128
}
129129

130+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/31940")
130131
public void testHTTPExporterWithSSL() throws Exception {
131132
// Ensures that the exporter is actually on
132133
assertBusy(() -> assertThat("[_http] exporter is not defined", getMonitoringUsageExportersDefined(), is(true)));

0 commit comments

Comments
 (0)