summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-01 21:26:26 +0900
committerLennart Poettering <lennart@poettering.net>2019-04-01 19:13:36 +0200
commit546c203d83c5171da5a11d6be928d3069d356c4b (patch)
tree9a86b223b16c9c9e3123c4f1278d5c35d515607a /test
parent46701cfef0505d6e34f992885be044b0d2bf1db3 (diff)
downloadsystemd-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...
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-11-ISSUE-3166/test.sh2
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