Skip to content

Commit

Permalink
fix SSLReloadIntegTests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Jan 6, 2025
1 parent 95b068b commit e1db78b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ public void testThatSSLConfigurationReloadsOnModification() throws Exception {
fail("handshake should not have been successful!");
} catch (SSLException | SocketException expected) {
logger.trace("expected exception", expected);
} catch (IOException e) {
// BouncyCastle throws a different exception
assertThat(e.getClass().getName(), is("org.bouncycastle.tls.TlsFatalAlertReceived"));
}
// Copy testnode_updated.crt to the placeholder updateable.crt so that the nodes will start trusting it now
try {
Expand Down

0 comments on commit e1db78b

Please sign in to comment.