1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-06 17:18:12 +03:00
systemd/test/TEST-74-AUX-UTILS/TEST-74-AUX-UTILS.units
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
..
realtime-test.service timer: add unit tests for DeferReactivation 2024-10-11 22:54:16 +02:00
realtime-test.timer timer: add unit tests for DeferReactivation 2024-10-11 22:54:16 +02:00