Skip to content

reverse_tunnels: Fix some flakes in the reverse connection cluster integration test#44065

Open
aakugan wants to merge 1 commit intoenvoyproxy:mainfrom
aakugan:flak-rc-integ-test
Open

reverse_tunnels: Fix some flakes in the reverse connection cluster integration test#44065
aakugan wants to merge 1 commit intoenvoyproxy:mainfrom
aakugan:flak-rc-integ-test

Conversation

@aakugan
Copy link
Contributor

@aakugan aakugan commented Mar 21, 2026

Commit Message

Fix some flakes in the reverse connection cluster integration test.

Additional Description

Wait for the listener to accept the connection before sending the requests to prevent a bunch of races that could come otherwise. We can take up finding and fixing the races later as it should not be easy to hit when run on different machines the accept window is usually very small only when done from a single machine does it become more likely.

Enable auto_close_connections by default othewise we risk letting both sockets be alive and reading from the same kernel socket which can cause other issues -> also add in ssl_quiet_close so the connection is not force closed by the ssl socket on the downstream side.

Testing

Unit and integ tests.

@aakugan
Copy link
Contributor Author

aakugan commented Mar 22, 2026

/retest

Signed-off-by: aakugan <aakashganapathy2@gmail.com>
@aakugan aakugan force-pushed the flak-rc-integ-test branch from 4999e6a to 8e12a38 Compare March 22, 2026 11:25
@aakugan aakugan changed the title Fix some flakes in the reverse connection cluster integration test reverse_tunnels: Fix some flakes in the reverse connection cluster integration test Mar 22, 2026
Copy link
Member

@agrawroh agrawroh left a comment

Choose a reason for hiding this comment

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

cc @basundhara-c Could you please do the first pass?

@basundhara-c
Copy link
Contributor

looks good to me @agrawroh

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.

3 participants