mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
9244d6d416
commit
2cab7bb791
1 file changed
+1
-1
@@ -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 });
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user