-
Notifications
You must be signed in to change notification settings - Fork 211
Flaky test: ResponseCancelTest #952
Copy link
Copy link
Closed
Labels
flaky testsUnit tests are flakyUnit tests are flaky
Description
io.servicetalk.http.netty.ResponseCancelTest.cancel
Error Message
java.lang.AssertionError: Unexpected response success.
Expected: an instance of java.nio.channels.ClosedChannelException
but: null
Stacktrace
java.lang.AssertionError: Unexpected response success.
Expected: an instance of java.nio.channels.ClosedChannelException
but: null
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at io.servicetalk.http.netty.ResponseCancelTest$ClientTerminationSignal.resumeExpectFailure(ResponseCancelTest.java:236)
at io.servicetalk.http.netty.ResponseCancelTest.cancel(ResponseCancelTest.java:122)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at io.servicetalk.concurrent.internal.ServiceTalkTestTimeout$TimeoutStatement$CallableStatement.call(ServiceTalkTestTimeout.java:171)
at io.servicetalk.concurrent.internal.ServiceTalkTestTimeout$TimeoutStatement$CallableStatement.call(ServiceTalkTestTimeout.java:163)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
flaky testsUnit tests are flakyUnit tests are flaky