[pacman-dev] Increase meson test timeout

Message ID 20200116070653.790927-1-allan@archlinux.org
State Accepted, archived
Headers show
Series [pacman-dev] Increase meson test timeout | expand

Commit Message

Allan McRae Jan. 16, 2020, 7:06 a.m. UTC
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@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(+)

Patch

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