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:
Sunil Mohan Adapa 2026-02-18 13:15:11 -08:00 committed by James Valleroy
parent fde0a620f9
commit 854916c54c
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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