Skip to content
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

test: fix parallel/test-net-socket-local-address #4078

Closed
wants to merge 1 commit into from

Conversation

bnoordhuis
Copy link
Member

Fix flakiness where the client sometimes closed the server before the
server had the chance to process the outstanding client connection.
Make the server close itself instead.

Fixes: #2475

R=@Trott

CI: https://ci.nodejs.org/job/node-test-pull-request/885/
Stress test: https://ci.nodejs.org/job/node-stress-single-test/94/

@bnoordhuis bnoordhuis added test Issues and PRs related to the tests. freebsd Issues and PRs related to the FreeBSD platform. labels Nov 30, 2015
@Trott
Copy link
Member

Trott commented Nov 30, 2015

Stress test on Windows 2012r2 because the current version of this test is flaky there too: https://ci.nodejs.org/job/node-stress-single-test/96/

@mscdex mscdex added the net Issues and PRs related to the net subsystem. label Dec 1, 2015
@Trott
Copy link
Member

Trott commented Dec 1, 2015

Previous FreeBSD stress test did not launch properly due to some CI issue, but it's working now at https://ci.nodejs.org/job/node-stress-single-test/97/nodes=freebsd102-64/

@Trott
Copy link
Member

Trott commented Dec 1, 2015

@bnoordhuis It looks like this fix works for Windows but does not fix the issue on FreeBSD. 74 failures out of 311 runs so far on the stress test.

@Trott
Copy link
Member

Trott commented Dec 1, 2015

For comparison, here's the stress test with the solution in #4052: https://ci.nodejs.org/job/node-stress-single-test/103/nodes=freebsd102-64/console (So far, 135 runs without a failure...)

Fix flakiness where the client sometimes closed the server before the
server had the chance to process the outstanding client connection.
Make the server close itself instead.

Fixes: nodejs#2475
@bnoordhuis
Copy link
Member Author

Stress test with one more tweak (hope I got the CI parameters right): https://ci.nodejs.org/job/node-stress-single-test/118/nodes=freebsd102-64/console

@bnoordhuis
Copy link
Member Author

Okay, that clearly didn't fix it.

@bnoordhuis
Copy link
Member Author

Closing, superseded by #4109.

@bnoordhuis bnoordhuis closed this Dec 2, 2015
@bnoordhuis bnoordhuis deleted the fix2475 branch December 2, 2015 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freebsd Issues and PRs related to the FreeBSD platform. net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate flaky test test-net-socket-local-address
3 participants