FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix flaky test-worker-debug by addaleax · Pull Request #28307 · nodejs/node · GitHub

/ node Public

test: fix flaky test-worker-debug - #28307

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:test-worker-debug-fix
Closed

test: fix flaky test-worker-debug#28307
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:test-worker-debug-fix

Conversation

Copy link
Copy Markdown
Member

Address a race condition in the test; the Worker’s exit events
may have been not recorded because the Worker exited before
the listeners were attached.

Fix the by attaching the event listeners before telling the Worker
to exit.

Fixes: #28299
Fixes: #28106

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Address a race condition in the test; the Worker’s exit events
may have been not recorded because the Worker exited before
the listeners were attached.

Fix the by attaching the event listeners before telling the Worker
to exit.

Fixes: nodejs#28299
Fixes: nodejs#28106
nodejs-github-bot added the test Issues and PRs related to the tests. label Jun 19, 2019
addaleax added flaky-test Issues and PRs related to the tests with unstable failures on the CI. fast-track PRs that do not need to wait for 48 hours to land. worker Issues and PRs related to Worker support. inspector Issues and PRs related to the V8 inspector protocol labels Jun 19, 2019

Copy link
Copy Markdown
Collaborator

addaleax commented Jun 19, 2019
edited
Loading

Copy link
Copy Markdown
Member Author

Stress test: https://ci.nodejs.org/job/node-stress-single-test/2232/
Stress test: https://ci.nodejs.org/job/node-stress-single-test/2233/

Please 👍 this comment to approve fast-tracking.

addaleax added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jun 19, 2019

danbev commented Jun 20, 2019

Copy link
Copy Markdown
Contributor

Landed in 2dec0f9.

danbev closed this Jun 20, 2019
danbev pushed a commit that referenced this pull request Jun 20, 2019
Address a race condition in the test; the Worker’s exit events
may have been not recorded because the Worker exited before
the listeners were attached.

Fix the by attaching the event listeners before telling the Worker
to exit.

PR-URL: #28307
Fixes: #28299
Fixes: #28106
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
addaleax deleted the test-worker-debug-fix branch June 20, 2019 20:38
targos pushed a commit that referenced this pull request Jul 2, 2019
Address a race condition in the test; the Worker’s exit events
may have been not recorded because the Worker exited before
the listeners were attached.

Fix the by attaching the event listeners before telling the Worker
to exit.

PR-URL: #28307
Fixes: #28299
Fixes: #28106
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
targos mentioned this pull request Jul 2, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. flaky-test Issues and PRs related to the tests with unstable failures on the CI. inspector Issues and PRs related to the V8 inspector protocol test Issues and PRs related to the tests. worker Issues and PRs related to Worker support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate flake test-worker-debug on ubuntu shared libs Investigate flaky parallel/test-worker-debug on Windows

6 participants


Back | FazBrowse Home | New Git URL