Skip to content

Commit

Permalink
Mute EmailSslTests test case in fips (#57576)
Browse files Browse the repository at this point in the history
We test expected TLS failures by catching SSLException, but other
security providers ( i.e. BCFIPS ) might throw a different one. In
this case, BCFIPS throws org.bouncycastle.tls.TlsFatalAlert
  • Loading branch information
jkakavas authored Jun 3, 2020
1 parent 2b4635a commit d1e2c42
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,11 @@ public void testCanSendMessageToSmtpServerUsingSmtpSslTrust() throws Exception {
}

/**
* This orderining could be considered to be backwards (the global "notification" settings take precedence
* This ordering could be considered to be backwards (the global "notification" settings take precedence
* over the account level "smtp.ssl.trust" setting) but smtp.ssl.trust was ignored for a period of time (see #52153)
* so this is the least breaking way to resolve that.
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/49094")
public void testNotificationSslSettingsOverrideSmtpSslTrust() throws Exception {
List<MimeMessage> messages = new ArrayList<>();
server.addListener(messages::add);
Expand Down

0 comments on commit d1e2c42

Please sign in to comment.