On Fri, 1 Dec 2023 13:46:14 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> 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' .

This pull request has now been integrated.

Changeset: b9b82631
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/b9b82631bf75dc93d9e11536b6872df4c89e9592
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with 
ConnectException: Connection timed out: no further information

Reviewed-by: clanger

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

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

Reply via email to