mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00: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:
parent
77e585657f
commit
a506aa76a8
@ -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 });
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user