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 async-hooks/test-tlswrap #15744

Closed
wants to merge 1 commit into from
Closed

Conversation

Trott
Copy link
Member

@Trott Trott commented Oct 2, 2017

There is a race condition in async-hooks/test-tlswrap. This addresses it
by waiting 5 more ticks if the client has not been destroyed yet.

Fixes: #14404

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test tls async_hooks

There is a race condition in async-hooks/test-tlswrap. This addresses it
by waiting 5 more ticks if the client has not been destroyed yet.

Fixes: nodejs#14404
@Trott Trott added async_hooks Issues and PRs related to the async hooks subsystem. test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem. labels Oct 2, 2017
@nodejs-github-bot nodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. test Issues and PRs related to the tests. labels Oct 2, 2017
@Trott
Copy link
Member Author

Trott commented Oct 2, 2017

@Trott
Copy link
Member Author

Trott commented Oct 2, 2017

CI stress test on master (should be red): https://ci.nodejs.org/job/node-stress-single-test/1436/nodes=osx1010/console

CI stress test on this PR (should be green): https://ci.nodejs.org/job/node-stress-single-test/1437/nodes=osx1010/console

Trott added a commit to Trott/io.js that referenced this pull request Oct 5, 2017
There is a race condition in async-hooks/test-tlswrap. This addresses it
by waiting 5 more ticks if the client has not been destroyed yet.

PR-URL: nodejs#15744
Fixes: nodejs#14404
Reviewed-By: Refael Ackermann <[email protected]>
@Trott
Copy link
Member Author

Trott commented Oct 5, 2017

Landed in ad652af

@Trott Trott closed this Oct 5, 2017
MylesBorins pushed a commit that referenced this pull request Oct 7, 2017
There is a race condition in async-hooks/test-tlswrap. This addresses it
by waiting 5 more ticks if the client has not been destroyed yet.

PR-URL: #15744
Fixes: #14404
Reviewed-By: Refael Ackermann <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Oct 7, 2017
MylesBorins pushed a commit that referenced this pull request Oct 11, 2017
There is a race condition in async-hooks/test-tlswrap. This addresses it
by waiting 5 more ticks if the client has not been destroyed yet.

PR-URL: #15744
Fixes: #14404
Reviewed-By: Refael Ackermann <[email protected]>
addaleax pushed a commit to addaleax/ayo that referenced this pull request Oct 12, 2017
There is a race condition in async-hooks/test-tlswrap. This addresses it
by waiting 5 more ticks if the client has not been destroyed yet.

PR-URL: nodejs/node#15744
Fixes: nodejs/node#14404
Reviewed-By: Refael Ackermann <[email protected]>
@Trott Trott deleted the fix-14404 branch January 13, 2022 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async_hooks Issues and PRs related to the async hooks subsystem. test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: investigate async-hooks/test-tlswrap
4 participants