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

chore(ext/node): run node compat parallel tests in core number concurrency #18505

Merged

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Mar 30, 2023

We currently run the all test cases in parallel category at the same time, which invokes hundreds process at the same time, and that seems causing some flakiness in CI. (maybe related to #18487)

This PR limits the concurrency to the number of cpu cores. This is more aligned to how Node.js run their parallel test in their repository. https://github.com/nodejs/node/blob/42c4a359525f70c322c0df0eac188fa2b05c3f53/Makefile#L356

@bartlomieju
Copy link
Member

FYI @kt3k CI on this PR will fail until we merge #18504

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally. Everything still works. LGTM, I'm gonna go ahead and merge it now

@bartlomieju bartlomieju merged commit 3deade4 into denoland:main Mar 30, 2023
mmastrac pushed a commit that referenced this pull request Mar 31, 2023
…rency (#18505)

We currently run the all test cases in `parallel` category at the same
time, which invokes hundreds process at the same time, and that seems
causing some flakiness in CI. (maybe related to #18487)

This PR limits the concurrency to the number of cpu cores. This is more
aligned to how Node.js run their `parallel` test in their repository.
https://github.com/nodejs/node/blob/42c4a359525f70c322c0df0eac188fa2b05c3f53/Makefile#L356
@kt3k kt3k deleted the chore-run-node-compat-test-cpu-num-concurrency branch April 1, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants