Skip to content

Commit

Permalink
[WFCORE-6538] Prepare for upcoming JBoss Remoting & XNIO releases whe…
Browse files Browse the repository at this point in the history
…re peer shut down is propagated to XNIO & Remoting.
  • Loading branch information
ropalka committed Jan 12, 2024
1 parent dd2ca88 commit be64de1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.io.IOException;
import java.net.ConnectException;
import java.net.MalformedURLException;
import java.nio.channels.ClosedChannelException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.security.GeneralSecurityException;
Expand Down Expand Up @@ -353,7 +354,7 @@ protected void assertAuthenticationFails(String message, Class<? extends Excepti
is(instanceOf(ConnectException.class)));
assertThat("Unexpected type of inherited exception for authentication failure", cause.getCause(),
anyOf(is(instanceOf(SSLException.class)), is(instanceOf(SaslException.class)),
is(instanceOf(RedirectException.class))));
is(instanceOf(RedirectException.class)), is(instanceOf(ClosedChannelException.class))));
}
}

Expand Down

0 comments on commit be64de1

Please sign in to comment.