Skip to content

Commit 17d2f9d

Browse files
committed
test: make test-loaders-workers-spawned less flaky
PR-URL: #55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 6a7d201 commit 17d2f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/es-module/test-loaders-workers-spawned.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('Worker threads do not spawn infinitely', { concurrency: !process.env.T
7676

7777
assert.strictEqual(stderr, '');
7878
// The worker code should always run before the --import, but the console.log might arrive late.
79-
assert.match(stdout, /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/);
79+
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$/);
8080
assert.strictEqual(code, 0);
8181
assert.strictEqual(signal, null);
8282
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy