Mercurial > hg > openjdk > jdk8u > jdk
changeset 14433:01352c9f8c07
8205014: com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java failed with "Read timed out"
Reviewed-by: sgehwolf
author | jjiang |
---|---|
date | Thu, 21 Jun 2018 10:15:41 +0800 |
parents | 627f9ae06250 |
children | 472688d32092 |
files | test/ProblemList.txt test/com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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();