From 2e50703717cbcac47fc3369d18ee9a9b934281e4 Mon Sep 17 00:00:00 2001 From: theanarkh Date: Mon, 25 Jul 2022 22:22:41 +0800 Subject: [PATCH] test: reduce loop times for preventing test from timeout --- 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 }); } }