aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-03-09 22:56:17 -0500
committerDylan Baker <dylan@pnwbakers.com>2023-03-09 21:36:33 -0800
commitf8eba38801a853ed2f8b1635bcda35139ae86815 (patch)
treef0a885f42169620c21bc674d237feb36bff7c677
parenta410bbdf12414ebfb9062f099eadf9a308af3501 (diff)
downloadmeson-f8eba38801a853ed2f8b1635bcda35139ae86815.zip
meson-f8eba38801a853ed2f8b1635bcda35139ae86815.tar.gz
meson-f8eba38801a853ed2f8b1635bcda35139ae86815.tar.bz2
tests: allow a long test to have more time to complete before timing out
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.
-rw-r--r--test cases/common/254 long output/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/common/254 long output/meson.build b/test cases/common/254 long output/meson.build
index 6d8d62b..145dcb4 100644
--- a/test cases/common/254 long output/meson.build
+++ b/test cases/common/254 long output/meson.build
@@ -1,5 +1,5 @@
project('long-stderr', 'c')
dumper = executable('dumper', 'dumper.c')
-test('dump-test', dumper)
-test('dump-test-TAP', dumper, protocol : 'tap')
+test('dump-test', dumper, timeout: 60)
+test('dump-test-TAP', dumper, protocol : 'tap', timeout: 60)