Skip to content
Permalink
Browse files
8225438: javax/net/ssl/TLSCommon/TestSessionLocalPrincipal.java faile…
…d with Read timed out

Reviewed-by: xuelei, rhalade, hchao
  • Loading branch information
Sibabrata Sahoo committed Mar 23, 2021
1 parent 5a51d70 commit 036ae0ea3e425150fd91da4eb28b4a8cf7443fd1
Showing 1 changed file with 2 additions and 3 deletions.
@@ -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 @@

/*
* @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 @@ void doServerSide() throws Exception {
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();

1 comment on commit 036ae0e

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 036ae0e Mar 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.