# HG changeset patch # User jjiang # Date 1529547341 -28800 # Node ID 01352c9f8c0729e9340b3218f452b193b2e574eb # Parent 627f9ae062502a6ab2305924e920e42403c47287 8205014: com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java failed with "Read timed out" Reviewed-by: sgehwolf diff -r 627f9ae06250 -r 01352c9f8c07 test/ProblemList.txt --- a/test/ProblemList.txt Thu Jul 06 15:54:39 2017 -0700 +++ b/test/ProblemList.txt Thu Jun 21 10:15:41 2018 +0800 @@ -387,8 +387,5 @@ ############################################################################ -# 8141370 -com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java linux-i586,macosx-all - sample/mergesort/MergeSortTest.java 8178912 generic-all sample/chatserver/ChatTest.java 8178912 generic-all diff -r 627f9ae06250 -r 01352c9f8c07 test/com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java --- a/test/com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java Thu Jul 06 15:54:39 2017 -0700 +++ b/test/com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java Thu Jun 21 10:15:41 2018 +0800 @@ -67,7 +67,8 @@ public void performOp(InitialContext ctx) throws NamingException {} public void handleNamingException(NamingException e, long start, long end) { - if (e.getCause() instanceof SocketTimeoutException) { + if (e.getCause() instanceof SocketTimeoutException + || e.getCause().getCause() instanceof SocketTimeoutException) { // SSL connect will timeout via readReply using // SocketTimeoutException e.printStackTrace();