OkHttpTransportTest earlyServerClose_serverFailure_withClientCancelOnListenerClosed is flaky
- Vorherrschende Sprache
- Java
- Sterne
- 12.1k
- Forks
- 4k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 37
Beschreibung
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
build output:
https://source.cloud.google.com/results/invocations/3bc8b484-55e9-4e11-9476-c481f3dc1661/targets/grpc%2Fjava%2Fpresubmit%2Fmacos/log
Beitragsleitfaden
Rechercherichtung
Start with OkHttpTransportTest and the earlyServerClose_serverFailure_withClientCancelOnListenerClosed test, then run the grpc-okhttp:test task to reproduce the timeout. Trace the test's server-stream setup and cancellation timing. Done means the test reliably passes without timing out and the grpc-okhttp test suite remains green.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- networking, testing-qa
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100