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 juanarbol committed Oct 10, 2022
1 parent 256bcfd commit 13be2a8
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 13be2a8

Please sign in to comment.