1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/test/TEST-74-AUX-UTILS
Matteo Croce 9784ed760e timer: add unit tests for DeferReactivation
Create a unit test for systemd timer DeferReactivation config option.
The test works by creating a timer which fires every 5 seconds and
starts an unit which runs for 5 seconds.
With DeferReactivation=true, the timer must fire every 5+5 seconds,
instead of the 5 it fires normally.

As we need at least two timer runs to check if the delta is correct,
the test duration on success will be at least 20 seconds.
To be safe, the test script waits 35 seconds: this is enough to get
at least three runs but low enough to avoid clogging the CI.
2024-10-11 22:54:16 +02:00
..
TEST-74-AUX-UTILS.units timer: add unit tests for DeferReactivation 2024-10-11 22:54:16 +02:00
Makefile test: introduce sanity coverage for auxiliary utils 2022-11-03 23:08:58 +01:00
meson.build timer: add unit tests for DeferReactivation 2024-10-11 22:54:16 +02:00
test.sh test: attempt to install sshd-session from multiple places 2024-08-01 15:02:34 +02:00