From c2b7177628429156a149b2b72830bb62beab546b Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Tue, 26 Sep 2017 16:41:41 +1000 Subject: [PATCH] temporary fix for unit test --- .../eclipse/jetty/server/ssl/SelectChannelServerSslTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SelectChannelServerSslTest.java b/jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SelectChannelServerSslTest.java index 0a70ac21cb3..3eee3090483 100644 --- a/jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SelectChannelServerSslTest.java +++ b/jetty-server/src/test/java/org/eclipse/jetty/server/ssl/SelectChannelServerSslTest.java @@ -40,6 +40,7 @@ import java.util.regex.Pattern; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; +import javax.net.ssl.SSLException; import javax.net.ssl.SSLSession; import javax.net.ssl.TrustManagerFactory; import javax.servlet.ServletException; @@ -122,7 +123,7 @@ public class SelectChannelServerSslTest extends HttpServerTestBase { super.testFullHeader(); } - catch (SocketException e) + catch (SocketException|SSLException e) { Log.getLogger(SslConnection.class).warn("Close overtook 400 response"); }