Skip to content

Commit 0ed6cee

Browse files
committed
fixup! test_runner: support test order randomization
1 parent 4d626b6 commit 0ed6cee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4289,9 +4289,9 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
42894289
[libuv threadpool documentation]: https://docs.libuv.org/en/latest/threadpool.html
42904290
[module compile cache]: module.md#module-compile-cache
42914291
[preloading asynchronous module customization hooks]: module.md#registration-of-asynchronous-customization-hooks
4292+
[randomizing tests execution order]: test.md#randomizing-tests-execution-order
42924293
[remote code execution]: https://www.owasp.org/index.php/Code_Injection
42934294
[running tests from the command line]: test.md#running-tests-from-the-command-line
4294-
[randomizing tests execution order]: test.md#randomizing-tests-execution-order
42954295
[scavenge garbage collector]: https://v8.dev/blog/orinoco-parallel-scavenger
42964296
[security warning]: #warning-binding-inspector-to-a-public-ipport-combination-is-insecure
42974297
[semi-space]: https://www.memorymanagement.org/glossary/s.html#semi.space

test/parallel/test-runner-run.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ describe('require(\'node:test\').run', { concurrency: true }, () => {
398398
// eslint-disable-next-line no-unused-vars
399399
for await (const _ of stream) ;
400400

401-
assert.strictEqual(executionOrder.length, internalTestNames.length);
402401
return executionOrder;
403402
}
404403

0 commit comments

Comments
 (0)