test: reduce loop times for preventing test from timeout

PR-URL: https://github.com/nodejs/node/pull/43981
Refs: https://github.com/nodejs/reliability/issues/331
Reviewed-By: Feng Yu <F3n67u@outlook.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
theanarkh authored and Ruy Adorno committed 2022-08-22 19:37:08 -04:00
1 parent 9244d6d416
commit 2cab7bb791
1 file changed
+1 -1
+1 -1
View File
@@ -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 });
}
}