-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
doc: update test concurrency description / default value #46457
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
doc: update test concurrency description / default value #46457
Conversation
|
Review requested:
|
85910bb to
0210c43
Compare
2937cfc to
ac76ec2
Compare
|
Other occurrences of Lines 679 to 685 in 1ecc03e
Lines 1648 to 1650 in 1ecc03e
It'd be nice to make all of them be consistent w.r.t to |
ac76ec2 to
f23581b
Compare
|
@aduh95 Thanks. The |
aduh95
left a comment
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.
The default is actually neither 1 nor false for t.test, the default is to inherit from the parent, let's fix that.
ed6de70 to
75f89a6
Compare
d73bf28 to
5156131
Compare
|
This updates only the documentation, but no implementation. Was the documentation merely incorrect? (I'm pretty sure at least 1 of the changes does correct the doc to the actual behaviour). If so, happy to switch to approve. |
5156131 to
388b813
Compare
@JakobJingleheimer Yes, the documentation was incorrect regarding subtest |
4d9eae5 to
1f61d56
Compare
|
@richiemccoll linter is failing |
1f61d56 to
2109a3d
Compare
@MoLow Thanks. Pushed a fix. |
Commit Queue failedhttps://github.com/nodejs/node/actions/runs/4102747738 |
PR-URL: #46457 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
|
Landed in 7d68b7b |
|
Thanks a lot for the contribution @richiemccoll and congrats on your first commit landed on nodejs/node 🎉 |
|
PR-URL: nodejs/node#46457 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]> (cherry picked from commit 7d68b7bbfc9ffbd2ad0913972ac0b1a315679b06)
PR-URL: nodejs/node#46457 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]> (cherry picked from commit 7d68b7bbfc9ffbd2ad0913972ac0b1a315679b06)
PR-URL: nodejs/node#46457 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]> (cherry picked from commit 7d68b7bbfc9ffbd2ad0913972ac0b1a315679b06)
PR-URL: #46457 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
PR-URL: #46457 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
Fixes: #45643.
This PR aligns the documentation for the test runner
concurrencyoptions. The description forcontext.testandrunare now consistent with thetestsection as they both allownumberorbooleanforconcurrency.I've also updated:
context.testfrom 1 tofalseso that it's consistent withtestconcurrency default.runfromtruetofalseso that it's consistent with thetest/context.testdefaults.