From 94146c9d2bad1ccc84c4625eccb02536f87e5671 Mon Sep 17 00:00:00 2001 From: Roman Bolshakov Date: Tue, 24 Nov 2020 01:10:15 +0300 Subject: [PATCH] qemuxml2argvtest: Increase timeout The test takes 40+ seconds on MBP 2012, MBA 2015. Cirrus completes the test within default timeout, just above 29 seconds but the error margin is narrow, under a second. It'd be good to provide reasonable default timeout to avoid test suite failure if "meson test" is invoked without arguments. Closes https://gitlab.com/libvirt/libvirt/-/issues/58 Signed-off-by: Roman Bolshakov Signed-off-by: Michal Privoznik Reviewed-by: Michal Privoznik --- tests/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 3ef4d06177..f848267135 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -574,7 +574,13 @@ foreach data : tests ], export_dynamic: true, ) - test(data['name'], test_bin, env: tests_env) + if data['name'] == 'qemuxml2argvtest' + timeout = 90 + else + # default meson timeout + timeout = 30 + endif + test(data['name'], test_bin, env: tests_env, timeout: timeout) endforeach