JDK-8135124 : [TEST_BUG] com/sun/jndi/ldap/LdapTimeoutTest.java failed intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-09-07
  • Updated: 2017-11-29
  • Resolved: 2015-09-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u152Fixed 9 b84Fixed
Related Reports
Relates :  
Relates :  
Description
This test still fails intermittently after fixing JDK-8046768.

Please refer to the following test output.

----------System.out:(14/728)----------
Running connect timeout test with 20s kill switch
Running read timeout test with 10ms connect timeout & 20s kill switch
Running read timeout test with 20s kill switch
Running connect timeout test with 10ms connect timeout, 3000ms read timeout
Running read timeout test with 10ms connect timeout, 3000ms read timeout
Running connect timeout test with 10ms connect timeout
Running simple auth connection test
class DeadServerNoTimeoutTest - elapsed: 20204
class ReadServerNoTimeoutTest - elapsed: 20410
class DeadServerTimeoutTest - elapsed: 212
class ReadServerNoTimeoutTest - elapsed: 20412
class DeadServerTimeoutTest - elapsed: 215
class ReadServerTimeoutTest - elapsed: 217
ReadServerTimeoutTest: end-start=217
----------System.err:(24/1470)----------
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Test failed
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at LdapTimeoutTest.main(LdapTimeoutTest.java:442)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:519)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:746)
Caused by: java.lang.RuntimeException: Test failed
	at LdapTest.fail(LdapTimeoutTest.java:84)
	at ReadServerTimeoutTest.handleNamingException(LdapTimeoutTest.java:278)
	at LdapTest.call(LdapTimeoutTest.java:134)
	at LdapTest.call(LdapTimeoutTest.java:55)
	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	... 1 more