]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2argvtest: Increase timeout
authorRoman Bolshakov <r.bolshakov@yadro.com>
Mon, 23 Nov 2020 22:10:15 +0000 (01:10 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Nov 2020 15:31:07 +0000 (16:31 +0100)
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 <r.bolshakov@yadro.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/meson.build

index 3ef4d06177521c25fd3d91c0bd2736918f1feeea..f848267135fbd16bc319b233ea1fb1ac5dcd8398 100644 (file)
@@ -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