Skip to content

test: run doctool tests in parallel - #47273

Closed
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:parallel-test
Closed

test: run doctool tests in parallel#47273
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:parallel-test

Conversation

@joyeecheung

@joyeecheungjoyeecheung commented Mar 27, 2023

Copy link
Copy Markdown
Member

I don't see why we can't run doctool tests and wpt in parallel, so make them run in parallel.

About other non-parallel tests:

  • benchmark: needs some refactoring in net and tls benchmarks to stop using common.PORT
  • embedding: there is only one test, so making it run in parallel doesn't add much
  • internet: needs refactoring to stop using common.PORT
  • known-issues: usually not run anyway
  • tick-processor: this does not even work locally for me?
  • pummel: takes a long time to run anyway, which is its point, and I am not sure if it can actually be run in parallel

Refs: #47146

EDIT: removed the WPT changes in favor of #47283

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory. labels Mar 27, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@debadree25debadree25 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 28, 2023

@targostargos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd prefer us to make the WPT runner itself spawn parallel workers, but this change is good for now.

@panva

This comment was marked as resolved.

@panvapanva added the blocked PRs that are blocked by other issues or PRs. label Mar 30, 2023
@panva

Copy link
Copy Markdown
Member

Adding blockedPRs that are blocked by other issues or PRs. until I resolve an issue with the WPT Runner writing WPT Report. It is not currently set up to handle parallel execution. Shouldn't take long to unblock.

@joyeecheung

Copy link
Copy Markdown
MemberAuthor

I can also just remove the WPT changes

@joyeecheungjoyeecheung removed the blocked PRs that are blocked by other issues or PRs. label Mar 30, 2023
@joyeecheungjoyeecheung changed the title test: run doctool tests and wpt tests in paralleltest: run doctool tests in parallelMar 30, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva

Copy link
Copy Markdown
Member

Ok, i'll re-add them to #47283

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@joyeecheungjoyeecheung added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 4, 2023
@joyeecheung

Copy link
Copy Markdown
MemberAuthor

Landed in cd36f6e

@joyeecheungjoyeecheung removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 4, 2023
joyeecheung added a commit that referenced this pull request Apr 4, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 5, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@RafaelGSSRafaelGSS mentioned this pull request Apr 6, 2023
RafaelGSS pushed a commit that referenced this pull request Apr 6, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 7, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 8, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 13, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
PR-URL: #47273
Refs: #47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
PR-URL: nodejs#47273
Refs: nodejs#47146
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.docIssues and PRs related to the documentations.needs-ciPRs that need a full CI run.testIssues and PRs related to the tests.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@joyeecheung@nodejs-github-bot@panva@jasnell@Trott@anonrig@targos@cjihrig@debadree25