[pacman-dev] [PATCH] Increase meson test timeout

Allan McRae allan at archlinux.org
Thu Jan 16 07:06:53 UTC 2020


Running the testsuite using "PACTEST_VALGRIND=1 ninja test -C build", I ran
into the following failure:

161/332 smoke001.py                             TIMEOUT 30.02 s

I figure an i7 @ 3.10GHz should be enough to run our testsuite... so boost
the meson test timeout to 120 seconds (which should be enough time for
anyone...).

Signed-off-by: Allan McRae <allan at archlinux.org>
---

With this patch, I can run the test under valgrind.  e.g.

161/332 smoke001.py                             OK      36.42 s

 test/pacman/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/pacman/meson.build b/test/pacman/meson.build
index 4e87b4f3..9de4f5a1 100644
--- a/test/pacman/meson.build
+++ b/test/pacman/meson.build
@@ -352,5 +352,6 @@ foreach input : pacman_tests
     PYTHON,
     protocol : 'tap',
     args : args,
+    timeout: 120,
     depends : [pacman_bin])
 endforeach
-- 
2.25.0


More information about the pacman-dev mailing list