8225438: javax/net/ssl/TLSCommon/TestSessionLocalPrincipal.java failed with Read timed out
Reviewed-by: xuelei, rhalade, hchao
This commit is contained in:
parent
5a51d70987
commit
036ae0ea3e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018,2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -48,7 +48,7 @@ import javax.net.ssl.TrustManagerFactory;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8206355
|
||||
* @bug 8206355 8225438
|
||||
* @summary Test principal that was sent to the peer during handshake.
|
||||
* @run main/othervm TestSessionLocalPrincipal
|
||||
*/
|
||||
@ -131,7 +131,6 @@ public class TestSessionLocalPrincipal {
|
||||
latch.countDown();
|
||||
try (SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept()) {
|
||||
sslSocket.setNeedClientAuth(this.clientAuth);
|
||||
sslSocket.setSoTimeout(5000);
|
||||
try (InputStream sslIS = sslSocket.getInputStream();
|
||||
OutputStream sslOS = sslSocket.getOutputStream();) {
|
||||
sslIS.read();
|
||||
|
Loading…
x
Reference in New Issue
Block a user