-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GrpcClientProviderTest is flaky #1853
Comments
I'm encountering this in a real environment; any ideas what could be causing it? My current theory is that it's a keep-alive configuration issue.
|
Some more logs from the CI build with extra okhttp logging added:
I don't see anything useful here, unfortunately, but I'll put the logs in anyway. |
I looked into this error a bit, and when the tests flake, it's because the server explicitly cancelled the stream. This is happening in Http2Stream#cancelStreamIfNecessary(). Sometimes it thinks it needs to cancel the stream, but when it does, the client gets an unexpected CANCEL and fails the test. The cancel happens because My current theory is that there's a race between This is super-subtle, and I'm getting tired, so I'll revisit later in the week. Success:
Failure:
7f4249625960b7f10dc61aae4d1896c2e126f538 introduced an optimization that may be connected to this issue. Stack trace:
|
The text was updated successfully, but these errors were encountered: