mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
test: make test-loaders-workers-spawned
less flaky
PR-URL: https://github.com/nodejs/node/pull/55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
parent
14353387eb
commit
a05cb0d1b0
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ describe('Worker threads do not spawn infinitely', { concurrency: !process.env.T
|
|||
|
||||
assert.strictEqual(stderr, '');
|
||||
// The worker code should always run before the --import, but the console.log might arrive late.
|
||||
assert.match(stdout, /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/);
|
||||
assert.match(stdout, /^A\r?\n(A\r?\nB\r?\nC|A\r?\nC\r?\nB|C\r?\nA\r?\nB)\r?\nD\r?\n$/);
|
||||
assert.strictEqual(code, 0);
|
||||
assert.strictEqual(signal, null);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue