test: set longer StartLimitIntervalSec= and fewer StartLimitBurst=

Some test environment may be in heavy load. In that case, rate limit
never hit, and the test fails...
This commit is contained in:
Yu Watanabe 2019-04-01 21:26:26 +09:00 committed by Lennart Poettering
parent 46701cfef0
commit 546c203d83

View File

@ -41,6 +41,8 @@ EOF
cat >$initdir/etc/systemd/system/fail-on-restart.service <<EOF
[Unit]
Description=Fail on restart
StartLimitIntervalSec=1m
StartLimitBurst=3
[Service]
Type=simple