Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8135124

[TEST_BUG] com/sun/jndi/ldap/LdapTimeoutTest.java failed intermittently

XMLWordPrintable

    • b84
    • generic
    • generic

        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

              robm Robert Mckenna
              xiaofeya Xiaofeng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: