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 flaky test-net-server-max-connections test on SmartOS #3830

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Nov 15, 2015

SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663

SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: nodejs#2663
@Trott Trott added the test Issues and PRs related to the tests. label Nov 15, 2015
@Trott
Copy link
Member Author

Trott commented Nov 15, 2015

@mscdex mscdex added the smartos Issues and PRs related to the SmartOS platform. label Nov 15, 2015
@jasnell
Copy link
Member

jasnell commented Nov 16, 2015

@Trott ... there's a CI failure on smartos. Can you see if it's related?

@Trott
Copy link
Member Author

Trott commented Nov 16, 2015

@jasnell The SmartOS failure in the CI is unrelated to the code changes here. It's in a different test. (But it does appear as if it is likely caused by the same SmartOS issue. I might see about coding up a separate workaround for that test and submitting that in a separate PR.)

EDIT: Actually, I've run the other test a few hundred times on SmartOS and can't get the unrelated test failure to crop up again, so I'm inclined to ignore it unless/until it shows up again on CI.

@jasnell
Copy link
Member

jasnell commented Nov 16, 2015

Ok. LGTM!

@Trott
Copy link
Member Author

Trott commented Nov 16, 2015

Related but not anything that should stop this from landing: Running https://ci.nodejs.org/job/node-stress-single-test/3/ to see if that other test is flaky or not. If so, I'll try to fix that different test in a different PR.

@Trott
Copy link
Member Author

Trott commented Nov 16, 2015

Landed in 5b80ca9

@Trott Trott closed this Nov 16, 2015
Trott added a commit that referenced this pull request Nov 16, 2015
SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663
PR-URL: #3830
Reviewed-By: James M Snell <jasnell@gmail.com>
Trott added a commit that referenced this pull request Nov 17, 2015
SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663
PR-URL: #3830
Reviewed-By: James M Snell <jasnell@gmail.com>
Trott added a commit that referenced this pull request Nov 30, 2015
SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663
PR-URL: #3830
Reviewed-By: James M Snell <jasnell@gmail.com>
Trott added a commit that referenced this pull request Dec 4, 2015
SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663
PR-URL: #3830
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell jasnell mentioned this pull request Dec 17, 2015
Trott added a commit that referenced this pull request Dec 17, 2015
SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663
PR-URL: #3830
Reviewed-By: James M Snell <jasnell@gmail.com>
Trott added a commit that referenced this pull request Dec 23, 2015
SmartOS has an issue where it will trigger ECONNREFUSED when it should
not. See https://smartos.org/bugview/OS-2767.

This change adds logic to test-net-server-max-connections.js to work
around the issue.

Fixes: #2663
PR-URL: #3830
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott Trott deleted the smart-bug branch January 13, 2022 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
smartos Issues and PRs related to the SmartOS platform. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants