-
Notifications
You must be signed in to change notification settings - Fork 30k
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: run WPT files in parallel again #47283
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
if (queue.length > 0) { | ||
execute(queue.shift()); | ||
} |
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.
This is not returned or awaited. Is there a risk of unhandled rejection?
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.
It behaves as expected even with the WPT suite updated (like the daily WPT job does).
This is the await in the queue.
await events.once(worker, 'exit').catch(() => {});
That being said, I am aware it's just a basic concurrency limit function implementation...
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
77fed52
to
313c51e
Compare
Before:
After:
Ran on an M1 Macbook Pro
https://ci.nodejs.org/job/node-stress-single-test/391/console |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Landed in c05689e |
not landing yet because tonight's daily WPT did not generate a report for current-nightly where this was included, will investigate. |
PR-URL: #47283 Refs: #47146 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
PR-URL: #47283 Refs: #47146 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
PR-URL: #47283 Refs: #47146 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
PR-URL: #47283 Refs: #47146 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
Allows WPT suites as well as individual WPT files in them to run in parallel.
Refs: #47146
Refs: #47273 (review)