[ML] Muting 5 SSLErrorMessageTests tests on Windows (#45602)

Due to https://github.com/elastic/elasticsearch/issues/45598
This commit is contained in:
David Roberts 2019-08-15 10:49:29 +01:00
parent 1beea3588b
commit d40f3718f2
1 changed files with 5 additions and 0 deletions

View File

@ -107,22 +107,27 @@ public class SSLErrorMessageTests extends ESTestCase {
}
public void testMessageForKeyStoreOutsideConfigDir() throws Exception {
assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
checkBlockedKeyManagerResource("keystore", "keystore.path", null);
}
public void testMessageForPemCertificateOutsideConfigDir() throws Exception {
assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
checkBlockedKeyManagerResource("certificate", "certificate", withKey("cert1a.key"));
}
public void testMessageForPemKeyOutsideConfigDir() throws Exception {
assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
checkBlockedKeyManagerResource("key", "key", withCertificate("cert1a.crt"));
}
public void testMessageForTrustStoreOutsideConfigDir() throws Exception {
assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
checkBlockedTrustManagerResource("truststore", "truststore.path");
}
public void testMessageForCertificateAuthoritiesOutsideConfigDir() throws Exception {
assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
checkBlockedTrustManagerResource("certificate_authorities", "certificate_authorities");
}