teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

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

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