From 2cab7bb79176c0000e080aac6671d76ec3eccdcd Mon Sep 17 00:00:00 2001 From: theanarkh Date: Tue, 26 Jul 2022 21:25:06 +0800 Subject: [PATCH] test: reduce loop times for preventing test from timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/43981 Refs: https://github.com/nodejs/reliability/issues/331 Reviewed-By: Feng Yu Reviewed-By: Michaƫl Zasso --- test/parallel/test-vm-break-on-sigint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-vm-break-on-sigint.js b/test/parallel/test-vm-break-on-sigint.js index 6ad25bfed234b8..92fdae0c839056 100644 --- a/test/parallel/test-vm-break-on-sigint.js +++ b/test/parallel/test-vm-break-on-sigint.js @@ -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 }); } }