-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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-runner-watch-mode #48144
test: fix flaky test-runner-watch-mode #48144
Conversation
Review requested:
|
Fast-track has been requested by @MoLow. Please 👍 to approve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W00t! Thanks for fixing a flaky test 🙌
I assume the race-conditions are not inherent to the use-case (and do not need to be accounted for).
Nit: Is it me or does this test write to the fixtures directory? It should use the testing tmp directory instead. |
Commit Queue failed- Loading data for nodejs/node/pull/48144 ✔ Done loading data for nodejs/node/pull/48144 ----------------------------------- PR info ------------------------------------ Title test: fix flaky test-runner-watch-mode (#48144) Author Moshe Atlow (@MoLow) Branch MoLow:fix-flaky-test-runner-watch-mode -> nodejs:main Labels test, flaky-test, fast-track, author ready, needs-ci, commit-queue-squash Commits 2 - test: fix flaky test-runner-watch-mode - CR: don't use tmpdir only Committers 1 - Moshe Atlow PR-URL: https://github.com/nodejs/node/pull/48144 Reviewed-By: Jacob Smith Reviewed-By: Rich Trott Reviewed-By: Benjamin Gruenbaum ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/48144 Reviewed-By: Jacob Smith Reviewed-By: Rich Trott Reviewed-By: Benjamin Gruenbaum -------------------------------------------------------------------------------- ℹ This PR was created on Tue, 23 May 2023 18:06:03 GMT ✔ Approvals: 3 ✔ - Jacob Smith (@JakobJingleheimer): https://github.com/nodejs/node/pull/48144#pullrequestreview-1440586936 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/48144#pullrequestreview-1442268852 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/48144#pullrequestreview-1441654648 ℹ This PR is being fast-tracked ✘ This PR needs to wait 24 more hours to land (or 0 hours if there are 2 more approvals (👍) of the fast-track request from collaborators). ✘ Last GitHub CI failed ℹ Last Full PR CI on 2023-05-24T15:32:17Z: https://ci.nodejs.org/job/node-test-pull-request/51949/ - Querying data for job/node-test-pull-request/51949/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/5071858438 |
Landed in dd31255 |
PR-URL: nodejs#48144 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
PR-URL: #48144 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
PR-URL: #48144 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
PR-URL: nodejs#48144 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
PR-URL: nodejs#48144 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
PR-URL: nodejs#48144 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
I was able to reproduce the fluke with
tools/test.py -J --timeout=10 --repeat=1500 test/parallel/test-runner-watch-mode
and validate this fixes it