Skip to content

test: fix the flaky test-tcp-reuseport#4417

Merged
saghul merged 2 commits intolibuv:v1.xfrom
panjf2000:tcp-reuseport-test
May 30, 2024
Merged

test: fix the flaky test-tcp-reuseport#4417
saghul merged 2 commits intolibuv:v1.xfrom
panjf2000:tcp-reuseport-test

Conversation

@panjf2000
Copy link
Copy Markdown
Contributor

Start connecting to the peers after all threads
to poll for accepting connections.

For #4407

Start connecting to the peers after all threads
to poll for accepting connections.

For libuv#4407

---------

Signed-off-by: Andy Pan <i@andypan.me>
@panjf2000
Copy link
Copy Markdown
Contributor Author

/cc @saghul @santigimeno

@panjf2000
Copy link
Copy Markdown
Contributor Author

panjf2000 commented May 22, 2024

It seemed that connecting to the listeners that have not yet started polling for accepting may not get the incoming connections to be distributed across all listening threads. Check out https://github.com/libuv/libuv/actions/runs/9190479225/job/25274784544

Copy link
Copy Markdown
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

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

LGTM with a suggestion

---------

Signed-off-by: Andy Pan <i@andypan.me>
@panjf2000 panjf2000 requested a review from saghul May 23, 2024 06:40
@panjf2000
Copy link
Copy Markdown
Contributor Author

Hi @santigimeno, got a minute for this?

@saghul saghul merged commit 1ee1063 into libuv:v1.x May 30, 2024
@panjf2000 panjf2000 deleted the tcp-reuseport-test branch May 30, 2024 08:04
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.

2 participants