Skip to content

Commit

Permalink
test: make test-loaders-workers-spawned less flaky
Browse files Browse the repository at this point in the history
PR-URL: #55172
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information
aduh95 committed Oct 9, 2024
1 parent 6a7d201 commit 17d2f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/es-module/test-loaders-workers-spawned.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 17d2f9d

Please sign in to comment.