Mute DefaultJdkTrustConfigTests (#72208)

For #71717
This commit is contained in:
David Kyle 2021-04-26 10:08:10 +01:00 committed by GitHub
parent c49fe30eb1
commit 351a824937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ public class DefaultJdkTrustConfigTests extends ESTestCase {
private static final BiFunction<String, String, String> EMPTY_SYSTEM_PROPERTIES = (key, defaultValue) -> defaultValue; private static final BiFunction<String, String, String> EMPTY_SYSTEM_PROPERTIES = (key, defaultValue) -> defaultValue;
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/71717")
public void testGetSystemTrustStoreWithNoSystemProperties() throws Exception { public void testGetSystemTrustStoreWithNoSystemProperties() throws Exception {
final DefaultJdkTrustConfig trustConfig = new DefaultJdkTrustConfig((key, defaultValue) -> defaultValue); final DefaultJdkTrustConfig trustConfig = new DefaultJdkTrustConfig((key, defaultValue) -> defaultValue);
assertThat(trustConfig.getDependentFiles(), emptyIterable()); assertThat(trustConfig.getDependentFiles(), emptyIterable());
@ -33,6 +34,7 @@ public class DefaultJdkTrustConfigTests extends ESTestCase {
assertStandardIssuers(trustManager); assertStandardIssuers(trustManager);
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/71717")
public void testGetNonPKCS11TrustStoreWithPasswordSet() throws Exception { public void testGetNonPKCS11TrustStoreWithPasswordSet() throws Exception {
final DefaultJdkTrustConfig trustConfig = new DefaultJdkTrustConfig(EMPTY_SYSTEM_PROPERTIES, "fakepassword".toCharArray()); final DefaultJdkTrustConfig trustConfig = new DefaultJdkTrustConfig(EMPTY_SYSTEM_PROPERTIES, "fakepassword".toCharArray());
assertThat(trustConfig.getDependentFiles(), emptyIterable()); assertThat(trustConfig.getDependentFiles(), emptyIterable());