RFR[testbug]: 8251189: com/sun/jndi/ldap/LdapDnsProviderTest.java failed due to timeout
aleksej.efimov at oracle.com
Thu Aug 6 12:44:17 UTC 2020
LdapDnsProviderTest was seen failing due to the timeout caused by the
blocked bind operation. That could happen if there is a local process
listening on the port specified in the test URL.
To make LdapProviderTest.ProviderTest.call fail the LDAP connect timeout
property needs to be set to greater than 0 value. That will help
runLocalHostTestWithRandomPort to fail with the timeout exception if the
port is busy and try another random port.
Also, the test output has been modified not to print stack traces for
the expected exceptions.
The test was executed 100+ times alongside to other LDAP tests and was
not seen failing with the
With Best Regards,
More information about the core-libs-dev