Skip to content

Commit afebfdd

Browse files
committed
fix(tests): tighten ESM test run limits to match deterministic convergence
Now that the compare-hook PRNG is seeded from the libFuzzer seed, iteration counts are fully deterministic: esm_instrumentation (seed 111994470): 848,791 runs → limit 900K esm_cjs_mixed (seed 111994470): 15,385 runs → limit 20K
1 parent c4a5b94 commit afebfdd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/esm_cjs_mixed/esm_cjs_mixed.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describeOrSkip("Mixed CJS + ESM instrumentation", () => {
4040
.sync(true)
4141
.disableBugDetectors([".*"])
4242
.expectedErrors("Error")
43-
.runs(5000000)
43+
.runs(20_000)
4444
.seed(111994470)
4545
.build();
4646

tests/esm_instrumentation/esm_instrumentation.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describeOrSkip("ESM instrumentation", () => {
4343
.sync(syncMode)
4444
.disableBugDetectors([".*"])
4545
.expectedErrors("Error")
46-
.runs(5000000)
46+
.runs(900_000)
4747
.seed(111994470)
4848
.build();
4949

@@ -63,7 +63,7 @@ describeOrSkip("ESM instrumentation", () => {
6363
.dir(__dirname)
6464
.disableBugDetectors([".*"])
6565
.expectedErrors("Error")
66-
.runs(5000000)
66+
.runs(900_000)
6767
.seed(111994470)
6868
.build();
6969

0 commit comments

Comments
 (0)