]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-event: increase test-event timeout to 120s
authorRadoslav Kolev <radoslav.kolev@suse.com>
Tue, 14 May 2024 07:39:29 +0000 (10:39 +0300)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 May 2024 09:34:22 +0000 (11:34 +0200)
The test-event test seems to be taking quite a bit more time than
the other 'simple tests', which usually complete in < 1s. In case
of a slower or loaded machine the default 30s timeout is not enough.

src/libsystemd/meson.build

index 817e3a5e090f6cf9a9deb279f926afed30a1eaab..6d4337d1a7f1c92b08dc7943c59b89407516f5bc 100644 (file)
@@ -158,6 +158,10 @@ libsystemd_tests += [
                 'sources' : files('sd-journal/test-journal-enum.c'),
                 'timeout' : 360,
         },
+        {
+                'sources' : files('sd-event/test-event.c'),
+                'timeout' : 120,
+        }
 ]
 
 ############################################################
@@ -170,7 +174,6 @@ simple_tests += files(
         'sd-device/test-device-util.c',
         'sd-device/test-sd-device-monitor.c',
         'sd-device/test-sd-device.c',
-        'sd-event/test-event.c',
         'sd-journal/test-journal-flush.c',
         'sd-journal/test-journal-interleaving.c',
         'sd-journal/test-journal-stream.c',