projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46701cf
)
test: set longer StartLimitIntervalSec= and fewer StartLimitBurst=
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 1 Apr 2019 12:26:26 +0000
(21:26 +0900)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 1 Apr 2019 17:13:36 +0000
(19:13 +0200)
Some test environment may be in heavy load. In that case, rate limit
never hit, and the test fails...
test/TEST-11-ISSUE-3166/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-11-ISSUE-3166/test.sh
b/test/TEST-11-ISSUE-3166/test.sh
index
6cde7fd
..
38c725f
100755
(executable)
--- 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