Skip to content

tcp: fix socket read data with rst flake#29616

Merged
yanavlasov merged 2 commits intoenvoyproxy:mainfrom
botengyao:check_quic_proto_flaky
Sep 14, 2023
Merged

tcp: fix socket read data with rst flake#29616
yanavlasov merged 2 commits intoenvoyproxy:mainfrom
botengyao:check_quic_proto_flaky

Conversation

@botengyao
Copy link
Copy Markdown
Member

@botengyao botengyao commented Sep 14, 2023

Fix #29595

It is possible that we will get data + rst from the wrapped transport socket since there is a do {} while loop. We should trigger the onRead if there is any processed data.

Do not flake anymore.

bazel test test/integration:protocol_integration_test --test_filter="*LargeRequestMethod*" --test_arg="-l trace" -c opt --runs_per_test=1000

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: Boteng Yao <boteng@google.com>
@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #29616 was opened by botengyao.

see: more, trace.

Signed-off-by: Boteng Yao <boteng@google.com>
@botengyao botengyao marked this pull request as ready for review September 14, 2023 04:50
Copy link
Copy Markdown
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick fix!
Assigning Greg for !google review and senior-maintainer.
/assign @ggreenway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quic_protocol_integration_test is extremely flakey

3 participants