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 <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
theanarkh authored Jul 26, 2022
1 parent 77e5856 commit a506aa7
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 a506aa7

Please sign in to comment.