muted tests due to #31940
This commit is contained in:
parent
eb8c82a66b
commit
ae5c70e603
|
@ -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()) {
|
||||||
|
|
|
@ -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)));
|
||||||
|
|
Loading…
Reference in New Issue