On Windows we recently run into this error rather often in the test 
LdapPoolTimeoutTest.java :

MSG RTE: javax.naming.CommunicationException: example.com:1234 [Root exception 
is java.net.ConnectException: Connection timed out: no further information]
MSG: Connect timed out
MSG: Timeout exceeded while waiting for a connection: 26984ms
MSG: Timed out waiting for lock
MSG: Timed out waiting for lock
MSG: Timed out waiting for lock
MSG: Timeout exceeded while waiting for a connection: 26984ms
MSG: Timeout exceeded while waiting for a connection: 26984ms
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:104)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)

We should extend the accepted exception message strings and also also  
'Connection timed out' .

-------------

Commit messages:
 - JDK-8317307

Changes: https://git.openjdk.org/jdk/pull/16922/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16922&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317307
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16922.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16922/head:pull/16922

PR: https://git.openjdk.org/jdk/pull/16922

Reply via email to