summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-12-11 10:37:19 +0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-12-11 15:39:41 +0200
commite941638ce652140e89fe65c3437c55aca9d32865 (patch)
treec03cb557e75e50cc0c6bb1e4a5e08903020855b6 /runner
parente3664f8ce1f9152712b32e9bfa1e4ec93ffa5349 (diff)
runner/tests: Increase the timeout by 10x
The default timeout is 30s. Recently we see more `ninja test` invocation failing due to runner tests timing out. This happens for slower environments, i.e. running the cross-compiled binaries through qemu. Freedesktop CI/CD runners are shared machines with a lot of cores and they accept many parallel jobs coming from multiple projects. There are no resources guarantees, which leads to the sporadic slowness. Runner tests are taking 10x longer than the next slowest test invoked by `ninja test` on a typical run. They also seem more prone to resource thrashing by other processes on the machine, probably due to heavier reliance on disk IO. Let's just give them proportional leeway when it comes to timing out. Cc: Petri Latvala <petri.latvala@intel.com> Issue: https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/197 Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'runner')
-rw-r--r--runner/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/runner/meson.build b/runner/meson.build
index 6d8d3ab2..404b8e04 100644
--- a/runner/meson.build
+++ b/runner/meson.build
@@ -60,14 +60,14 @@ if jsonc.found()
link_with : runnerlib,
install : false,
dependencies : igt_deps)
- test('runner', runner_test)
+ test('runner', runner_test, timeout : 300)
runner_json_test = executable('runner_json_test', runner_json_test_sources,
c_args : '-DJSON_TESTS_DIRECTORY="@0@"'.format(join_paths(meson.current_source_dir(), 'json_tests_data')),
link_with : runnerlib,
install : false,
dependencies : [igt_deps, jsonc])
- test('runner_json', runner_json_test)
+ test('runner_json', runner_json_test, timeout : 300)
build_info += 'Build test runner: true'
if liboping.found()