mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
syncthing: tests: Fix tests by allowing rapid restarts
Tests: - Functional tests for syncthing pass. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
fde0a620f9
commit
854916c54c
@ -1,3 +1,10 @@
|
||||
# The service depends on users and groups defined in LDAP
|
||||
[Unit]
|
||||
After=nslcd.service
|
||||
|
||||
# Revert to systemd defaults for the number of times the service can start in a
|
||||
# given interval. Syncthing sets it to a much more strict value of 4 start in
|
||||
# 60s which leads to functional tests failing when app is enabled/disabled,
|
||||
# installed/uninstalled, and backed up/restored many times.
|
||||
StartLimitIntervalSec=10s
|
||||
StartLimitBurst=5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user