The Test getting timeout intermittently because the SO_TIMEOUT of 5 seconds set on sslServerSocket. This time interval could be inadequate when the machine is too busy. Also it looks setting SO_TIMEOUT is unnecessary here. So the statement has been removed.
------------- Commit messages: - 8225438: javax/net/ssl/TLSCommon/TestSessionLocalPrincipal.java failed with Read timed out Changes: https://git.openjdk.java.net/jdk/pull/3116/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3116&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8225438 Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/3116.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3116/head:pull/3116 PR: https://git.openjdk.java.net/jdk/pull/3116