Skip to content

Flaky test: ResponseCancelTest #952

@idelpivnitskiy

Description

@idelpivnitskiy

https://ci.servicetalk.io/job/servicetalk-java11-prb/1028/testReport/junit/io.servicetalk.http.netty/ResponseCancelTest/cancel/

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions