mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
parent
c49fe30eb1
commit
351a824937
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue