diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-04-01 21:26:26 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-04-01 19:13:36 +0200 |
commit | 546c203d83c5171da5a11d6be928d3069d356c4b (patch) | |
tree | 9a86b223b16c9c9e3123c4f1278d5c35d515607a | |
parent | 46701cfef0505d6e34f992885be044b0d2bf1db3 (diff) | |
download | systemd-546c203d83c5171da5a11d6be928d3069d356c4b.tar.gz |
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...
-rwxr-xr-x | test/TEST-11-ISSUE-3166/test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TEST-11-ISSUE-3166/test.sh b/test/TEST-11-ISSUE-3166/test.sh index 6cde7fd7ea..38c725fa70 100755 --- a/test/TEST-11-ISSUE-3166/test.sh +++ b/test/TEST-11-ISSUE-3166/test.sh @@ -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 |