From b42151ac8aa44c7a93dd72e9603f9ccbe22c672f Mon Sep 17 00:00:00 2001 From: Shubham Pandey Date: Sat, 28 Oct 2023 17:45:49 +0530 Subject: [PATCH 1/8] test_runner, cli: add --test-timeout flag --- doc/api/cli.md | 9 +++++++++ doc/node.1 | 3 +++ lib/internal/main/test_runner.js | 3 +++ src/node_options.cc | 3 +++ src/node_options.h | 1 + 5 files changed, 19 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index 5f29c497426db6..1bd4864b2d1bca 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1771,6 +1771,15 @@ node --test --test-shard=2/3 node --test --test-shard=3/3 ``` +### `--test-timeout` + + + +A number of milliseconds the test execution will fail after. If unspecified, +subtests inherit this value from their parent. The default value is `Infinity`. + ### `--throw-deprecation`