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

tests: allow a long test to have more time to complete before timing out #11518

Merged
merged 1 commit into from Mar 10, 2023

Conversation

eli-schwartz
Copy link
Member

This test is intended to test really long output, so it prints 100k lines of stdout/stderr. It completes in two seconds on my machine, but the default 30-second timeout is apparently too much for CI, because on Windows we often get flaky tests due to this. e.g. we'll get within 200 lines of the end.

Bump the CI time by x2. We know this isn't particularly surprising behavior, and allowing it to request another 30 seconds won't hang the CI. But it will save us from some spurious failures and restarted jobs.

This test is intended to test really long output, so it prints 100k
lines of stdout/stderr. It completes in two seconds on my machine, but
the default 30-second timeout is apparently too much for CI, because on
Windows we often get flaky tests due to this. e.g. we'll get within 200
lines of the end.

Bump the CI time by x2. We know this isn't particularly surprising
behavior, and allowing it to request another 30 seconds won't hang the
CI. But it will save us from some spurious failures and restarted jobs.
@codecov
Copy link

codecov bot commented Mar 10, 2023

Codecov Report

Merging #11518 (aed41cc) into master (83b4f14) will increase coverage by 1.58%.
The diff coverage is n/a.

❗ Current head aed41cc differs from pull request most recent head 377de8b. Consider uploading reports for the commit 377de8b to get more accurate results

@@            Coverage Diff             @@
##           master   #11518      +/-   ##
==========================================
+ Coverage   67.23%   68.82%   +1.58%     
==========================================
  Files         418      209     -209     
  Lines       91148    45574   -45574     
  Branches    20251     9435   -10816     
==========================================
- Hits        61287    31365   -29922     
+ Misses      25167    11785   -13382     
+ Partials     4694     2424    -2270     

see 209 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dcbaker dcbaker merged commit f8eba38 into mesonbuild:master Mar 10, 2023
33 checks passed
@eli-schwartz eli-schwartz deleted the ci-timeout branch March 12, 2023 06:48
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.

None yet

2 participants