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

java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out

XMLWordPrintable

    • b08

        ----------System.out:(56/4753)----------
        [TestNG] Running:
          java/net/httpclient/MaxStreams.java

        config MaxStreams.setup(): success
        test MaxStreams.testAsString("http://localhost:38118/http2/fixed"): success
        test MaxStreams.testAsString("https://localhost:44099/https2/fixed"): failure
        org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.testAsString() didn't finish within the time-out 20000
        test MaxStreams.testAsString("http://localhost:38118/http2/fixed"): failure
        org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.testAsString() didn't finish within the time-out 20000
        at java.base@13-internal/java.lang.invoke.MethodHandleNatives.linkMethodImpl(MethodHandleNatives.java:459)
        at java.base@13-internal/java.lang.invoke.MethodHandleNatives.linkMethod(MethodHandleNatives.java:451)
        at java.base@13-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer$Node.compareAndSetNext(AbstractQueuedSynchronizer.java:538)
        at java.base@13-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer.cancelAcquire(AbstractQueuedSynchronizer.java:815)
        at java.base@13-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1043)
        at java.base@13-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
        at java.base@13-internal/java.util.concurrent.Semaphore.acquire(Semaphore.java:318)
        at app//MaxStreams.testAsString(MaxStreams.java:109)
        at java.base@13-internal/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base@13-internal/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base@13-internal/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@13-internal/java.lang.reflect.Method.invoke(Method.java:567)
        at app//org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
        at app//org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
        at app//org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
        at java.base@13-internal/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base@13-internal/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base@13-internal/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base@13-internal/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base@13-internal/java.lang.Thread.run(Thread.java:830)
        test MaxStreams.testAsString("https://localhost:44099/https2/fixed"): failure
        org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.testAsString() didn't finish within the time-out 20000
        at java.base@13-internal/java.lang.Throwable.fillInStackTrace(Native Method)
        at java.base@13-internal/java.lang.Throwable.fillInStackTrace(Throwable.java:797)
        at java.base@13-internal/java.lang.Throwable.<init>(Throwable.java:315)
        at java.base@13-internal/java.lang.Exception.<init>(Exception.java:102)
        at java.base@13-internal/java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
        at java.base@13-internal/java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:73)
        at java.base@13-internal/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base@13-internal/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base@13-internal/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@13-internal/java.lang.reflect.Method.invoke(Method.java:567)
        at app//org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
        at app//org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
        at app//org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
        at java.base@13-internal/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base@13-internal/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base@13-internal/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base@13-internal/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base@13-internal/java.lang.Thread.run(Thread.java:830)
        config MaxStreams.teardown(): success

        ===============================================
        java/net/httpclient/MaxStreams.java
        Total tests run: 4, Failures: 3, Skips: 0
        ===============================================

              djelinski Daniel Jelinski
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: