Skip to content

config: runtime: increase test timeout when coverage is enabled #2951

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Aug 21, 2025

We have a longer global timeout on coverage-enabled runs, as we need to leave enough time for packing and uploading the coverage data. However, this doesn't affect the job/test timeout, leading to many jobs timing out during coverage artifacts packing.

Fix this by adding a new test_timeout variable, calculated from job_timeout when it's present, and used in place of the latter in test templates.

We have a longer global timeout on coverage-enabled runs, as we need to
leave enough time for packing and uploading the coverage data. However,
this doesn't affect the job/test timeout, leading to many jobs timing
out during coverage artifacts packing.

Fix this by adding a new `test_timeout` variable, calculated from
`job_timeout` when it's present, and used in place of the latter in test
templates.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
@a-wai a-wai requested review from nuclearcat and pawiecz August 21, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant