RFR[testbug]: 8251189: com/sun/jndi/ldap/LdapDnsProviderTest.java failed due to timeout
vyommani at gmail.com
Tue Aug 11 13:12:30 UTC 2020
On Tue, Aug 11, 2020 at 4:39 PM Daniel Fuchs <daniel.fuchs at oracle.com>
> Hi Aleksei,
> Looks good to me!
> best regards,
> -- daniel
> On 06/08/2020 13:44, Aleks Efimov wrote:
> > Hi,
> > 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.
> > Webrev: http://cr.openjdk.java.net/~aefimov/8251189/00/index.html
> > JBS: https://bugs.openjdk.java.net/browse/JDK-8251189
> > The test was executed 100+ times alongside to other LDAP tests and was
> > not seen failing with the
> > proposed changes.
> > With Best Regards,
> > Aleksei
More information about the core-libs-dev