This is an automated email from the ASF dual-hosted git repository. orudyy pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
commit 432e1f56389b1cc48a876f4372eb55a6ce33961e Author: Alex Rudyy <[email protected]> AuthorDate: Wed Oct 9 15:20:05 2019 +0100 NO-JIRA: Fix failing test with Java11 and TLS 1.3 (cherry picked from commit 07db79a90e123486caf3b4e062c181d2a944040b) --- .../http/authentication/PreemptiveAuthenticationTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java index 8b73bc2..466e2da 100644 --- a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java +++ b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java @@ -54,6 +54,7 @@ import java.util.HashMap; import java.util.HashSet; import java.util.Map; +import javax.net.ssl.SSLException; import javax.net.ssl.SSLHandshakeException; import javax.servlet.http.HttpServletResponse; @@ -136,6 +137,19 @@ public class PreemptiveAuthenticationTest extends HttpTestBase { // PASS } + catch (SSLException e) + { + // PASS + // + // TLS 1.3 seems has an issue with handshake (some sort of race): + // after the socket being closed on server side due to unknown certificate, + // the client is trying to flush output stream and gets "broken pipe". + // + // The issue seems related to https://bugs.openjdk.java.net/browse/JDK-8207009 + // There is still a problem with handshake in 11.0.4 and above + // + // Ignoring this issue... due to low impact of the issue on client applications... + } catch (SocketException e) { // TODO - defect - we are not always seeing the SSL handshake exception --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
