Skip to content

Commit c939e19

Browse files
theanarkhdanielleadams
authored andcommitted
test: reduce loop times for preventing test from timeout
PR-URL: #43981 Refs: nodejs/reliability#331 Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 62a0a4c commit c939e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-vm-break-on-sigint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (!process.env.HAS_STARTED_WORKER) {
1616
}
1717
} else {
1818
const ctx = vm.createContext({});
19-
for (let i = 0; i < 10000; i++) {
19+
for (let i = 0; i < 100; i++) {
2020
vm.runInContext('console.log(1)', ctx, { breakOnSigint: true });
2121
}
2222
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy