Skip to content

Commit 2cab7bb

Browse files
theanarkhruyadorno
authored andcommitted
test: reduce loop times for preventing test from timeout
PR-URL: #43981 Refs: nodejs/reliability#331 Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 9244d6d commit 2cab7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-vm-break-on-sigint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (!process.env.HAS_STARTED_WORKER) {
1616
}
1717
} else {
1818
const ctx = vm.createContext({});
19-
for (let i = 0; i < 10000; i++) {
19+
for (let i = 0; i < 100; i++) {
2020
vm.runInContext('console.log(1)', ctx, { breakOnSigint: true });
2121
}
2222
}

0 commit comments

Comments
 (0)