You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OkHttpTransportTest earlyServerClose_serverFailure_withClientCancelOnListenerClosed is flaky #5181
Please answer these questions before submitting your issue.
What version of gRPC are you using?
latest -> SNAPSHOT
What did you expect to see?
All tests should pass. Instead I see this failure more than once and it seems to be a flaky test:
Task :grpc-okhttp:test
io.grpc.okhttp.OkHttpTransportTest > earlyServerClose_serverFailure_withClientCancelOnListenerClosed FAILED
java.lang.AssertionError: Timed out waiting for server stream
changed the title [-]Flaky test needs to be fixed or removed[/-][+]OkHttpTransportTest earlyServerClose_serverFailure_withClientCancelOnListenerClosed is flaky[/+]on Dec 19, 2018
io.grpc.okhttp.OkHttpTransportTest > earlyServerClose_serverFailure_withClientCancelOnListenerClosed FAILED
java.lang.AssertionError: Timed out waiting for server stream
The failure seems to be in takeListenerOrFail. There doesn't look to be anything special about this test. All the TransportTests do basically the same boilerplate. The test is failing after 1 second.
Oh, wait. Not takeListenerOrFail(), but takeStreamOrFail(). This may be a legitimate failure, since that test was added because of a race in InProcess transport. Maybe OkHttp has the same problem.
Activity
[-]Flaky test needs to be fixed or removed[/-][+]OkHttpTransportTest earlyServerClose_serverFailure_withClientCancelOnListenerClosed is flaky[/+]ejona86 commentedon Dec 19, 2018
https://source.cloud.google.com/results/invocations/e3f8fd48-5ff4-40c8-b457-532aca2f6f16 (macos)
ejona86 commentedon Dec 19, 2018
The failure seems to be in takeListenerOrFail. There doesn't look to be anything special about this test. All the TransportTests do basically the same boilerplate. The test is failing after 1 second.
ejona86 commentedon Dec 19, 2018
https://source.cloud.google.com/results/invocations/a0393fd2-9968-49b2-9512-01fe23c6f5fc/targets (macos)
ejona86 commentedon Dec 19, 2018
Oh, wait. Not
takeListenerOrFail(), buttakeStreamOrFail(). This may be a legitimate failure, since that test was added because of a race in InProcess transport. Maybe OkHttp has the same problem.ejona86 commentedon Dec 19, 2018
https://source.cloud.google.com/results/invocations/1598a29c-e806-448b-bdb3-b72650072436/log (macos)
ejona86 commentedon Dec 19, 2018
https://source.cloud.google.com/results/invocations/9da67357-906e-4752-b9cb-1cd6cbd0cdb7/log (macos)
creamsoup commentedon Jan 4, 2019
https://source.cloud.google.com/results/invocations/e1b1fc9a-321c-481b-8ebc-b1c486deeb3c (macos)