mirror of
https://github.com/systemd/systemd.git
synced 2024-12-01 06:13:38 +08:00
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:
parent
46701cfef0
commit
546c203d83
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user