Skip to content

Commit

Permalink
test: reduce loop times for preventing test from timeout
Browse files Browse the repository at this point in the history
PR-URL: #43981
Refs: nodejs/reliability#331
Reviewed-By: Feng Yu <F3n67u@outlook.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
theanarkh authored and ruyadorno committed Aug 22, 2022
1 parent 9244d6d commit 2cab7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-vm-break-on-sigint.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (!process.env.HAS_STARTED_WORKER) {
}
} else {
const ctx = vm.createContext({});
for (let i = 0; i < 10000; i++) {
for (let i = 0; i < 100; i++) {
vm.runInContext('console.log(1)', ctx, { breakOnSigint: true });
}
}

0 comments on commit 2cab7bb

Please sign in to comment.