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: nodejs/node#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 guangwong committed Jan 3, 2023
1 parent af8df89 commit e0b7c06
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 e0b7c06

Please sign in to comment.