Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for test timeouts. #50687

Merged
merged 2 commits into from
Feb 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion ci/builders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ configuration.
"tests": [
{
"language": "python3",
"test_timeout_secs": 600,
"name": "Host Tests for host_debug_impeller_vulkan",
"parameters": [
"--variant",
Expand All @@ -316,6 +317,8 @@ In general any executable found in the path can be used as language. The
default is empty which means no interpreter will be used to run the script
and it is assumed the script is already an executable with the right
permissions to run in the target platform.
* **test_timeout_secs** - the timeout in seconds for the step running the test. This value overrides the
default 1 hour timeout. It is recommended to add timeouts to tests leaking processes to allow LUCI services to collect logs.
godofredoc marked this conversation as resolved.
Show resolved Hide resolved
* **name** - the name of the step running the script.
* **parameters** - flags or parameters passed to the script. Parameters
accept magic environment variables(placeholders replaced before executing
Expand Down Expand Up @@ -488,7 +491,8 @@ Engine test example:
"--shard-variants=host_debug"
],
"max_attempts": 1,
"script": "flutter/ci/clang_tidy.sh"
"script": "flutter/ci/clang_tidy.sh",
"test_timeout_secs": 600,
}
]
}
Expand Down Expand Up @@ -535,6 +539,8 @@ The property's description is as follows:
* **parameters** a list of parameters passed to the script execution.
* **max_attempts** an integer with the maximum number of runs in case of failure.
* **script** the path relative to checkout/src/ to run.
* **test_timeout_secs** - the timeout in seconds for the step running the test. This value overrides the
default 1 hour timeout. It is recommended to add timeouts to tests leaking processes to allow LUCI services to collect logs.

### Global Generators

Expand Down