]> git.ipfire.org Git - thirdparty/systemd.git/commit
TEST-23-UNIT-FILE: do not wait indefinitely but set a reasonable timeout
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Jul 2025 13:57:07 +0000 (22:57 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 28 Jul 2025 16:28:13 +0000 (17:28 +0100)
commite43efecc8f43d4c0b4007630a55e75ab28032beb
treeccaeff68fd292f0642be8bb83ed83398d3244ec9
parent257e941cc18ad2728f8e01b4dc44c6a2d16b7610
TEST-23-UNIT-FILE: do not wait indefinitely but set a reasonable timeout

Otherwise, the test does not finish until the global timeout is reached.

This is for making the test fail earlier when something spurious happens:
```
[FAILED] Failed to start TEST-23-UNIT-FILE-short-lived.service - Shortlived Unit.
TEST-23-UNIT-FILE.sh[776]: + '[' 0 -eq 0 ']'
TEST-23-UNIT-FILE.sh[776]: + sleep .5
(snip)
58/98 systemd:integration-tests / TEST-23-UNIT-FILE  TIMEOUT  1800.52s  killed by signal 9 SIGKILL
```
test/units/TEST-23-UNIT-FILE.Upholds.sh