teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0610-meson-bump-timeout-for-test-udev-to-180s.patch

812ca2
From 998041fbb2b4114f2f1df604cdebc4afbf682d63 Mon Sep 17 00:00:00 2001
812ca2
From: Frantisek Sumsal <frantisek@sumsal.cz>
812ca2
Date: Fri, 18 Jan 2019 22:32:42 +0100
812ca2
Subject: [PATCH] meson: bump timeout for test-udev to 180s
812ca2
812ca2
On some (mainly virtual) machines the last test takes more than 30
812ca2
seconds, which causes unnecessary fails, as the test itself is working
812ca2
properly.
812ca2
812ca2
(cherry picked from commit bb0e960448fce037f5b82b1829863da8ccbe636b)
812ca2
812ca2
Related: #1934504
812ca2
---
812ca2
 test/meson.build | 3 ++-
812ca2
 1 file changed, 2 insertions(+), 1 deletion(-)
812ca2
812ca2
diff --git a/test/meson.build b/test/meson.build
812ca2
index 52e4fa2e3c..535354f3ab 100644
812ca2
--- a/test/meson.build
812ca2
+++ b/test/meson.build
812ca2
@@ -246,7 +246,8 @@ custom_target(
812ca2
 if perl.found()
812ca2
         udev_test_pl = find_program('udev-test.pl')
812ca2
         test('udev-test',
812ca2
-             udev_test_pl)
812ca2
+             udev_test_pl,
812ca2
+             timeout : 180)
812ca2
 else
812ca2
         message('Skipping udev-test because perl is not available')
812ca2
 endif