Skip to content

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

Merged
agrawroh merged 1 commit into
envoyproxy:mainfrom
aakugan:flak-rc-integ-test
Mar 27, 2026
Merged

reverse_tunnels: Fix some flakes in the reverse connection cluster integration test#44065
agrawroh merged 1 commit into
envoyproxy:mainfrom
aakugan:flak-rc-integ-test

Conversation

@aakugan
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

looks good to me @agrawroh

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Mar 25, 2026

Sorry for the delay. May wait @agrawroh back from kubecon, haha

@agrawroh agrawroh merged commit 26045e5 into envoyproxy:main Mar 27, 2026
29 checks passed
TAOXUY pushed a commit to TAOXUY/envoy that referenced this pull request Apr 1, 2026
…tegration test (envoyproxy#44065)

Signed-off-by: Xuyang Tao <taoxuy@google.com>
citrus7 pushed a commit to citrus7/envoy that referenced this pull request Apr 1, 2026
…tegration test (envoyproxy#44065)

Signed-off-by: Jonathan Wu <jtwu@google.com>
nshipilov pushed a commit to nshipilov/envoy that referenced this pull request Apr 13, 2026
…tegration test (envoyproxy#44065)

Signed-off-by: Nick Shipilov <nick.shipilov.n@gmail.com>
krinkinmu pushed a commit to grnmeira/envoy that referenced this pull request Apr 20, 2026
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.

4 participants