Skip to content

Commit 300a0a9

Browse files
committed
fixup! test_runner: support test order randomization
1 parent 0fb39fa commit 300a0a9

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4297,9 +4297,9 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
42974297
[libuv threadpool documentation]: https://docs.libuv.org/en/latest/threadpool.html
42984298
[module compile cache]: module.md#module-compile-cache
42994299
[preloading asynchronous module customization hooks]: module.md#registration-of-asynchronous-customization-hooks
4300+
[randomizing tests execution order]: test.md#randomizing-tests-execution-order
43004301
[remote code execution]: https://www.owasp.org/index.php/Code_Injection
43014302
[running tests from the command line]: test.md#running-tests-from-the-command-line
4302-
[randomizing tests execution order]: test.md#randomizing-tests-execution-order
43034303
[scavenge garbage collector]: https://v8.dev/blog/orinoco-parallel-scavenger
43044304
[security warning]: #warning-binding-inspector-to-a-public-ipport-combination-is-insecure
43054305
[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)