-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
test: parallelize test-without-async-context-frame correctly #60273
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
Conversation
It previously re-einvented the pattern matching that's already supported by test.py, and was running the tests one by one, which can lead to time out on slower machines. This move it to sequential and use wildcard support in test.py to correctly parallelize the tests.
|
On my macbook: $ tools/test.py test/sequential/test-without-async-context-frame.mjs
[00:00|% 100|+ 1|- 0]: Done
All tests passed.
$ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
$ tools/test.py test/parallel/test-without-async-context-frame.mjs
[00:07|% 100|+ 1|- 0]: Done |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60273 +/- ##
=======================================
Coverage 88.57% 88.58%
=======================================
Files 704 704
Lines 208323 208323
Branches 40037 40043 +6
=======================================
+ Hits 184531 184537 +6
- Misses 15811 15815 +4
+ Partials 7981 7971 -10 🚀 New features to boost your workflow:
|
|
Landed in 70c04c7 |
|
Oh, nice! Thanks for fixing this one. When I originally wrote that I had tried to allow it to run parallel, but the test itself was in the parallel set which seemed to overload the CI. I guess the solution I was missing was to just run the parallel set as a sequential test. Good catch! 🙂 |
It previously re-einvented the pattern matching that's already supported by test.py, and was running the tests one by one, which can lead to time out on slower machines. This move it to sequential and use wildcard support in test.py to correctly parallelize the tests. PR-URL: #60273 Fixes: #60268 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
It previously re-einvented the pattern matching that's already supported by test.py, and was running the tests one by one, which can lead to time out on slower machines.
This move it to sequential and use wildcard support in test.py to correctly parallelize the tests.
Fixes: #60268