tests: avoid postgresql timeout failures on CI nodes

This commit is contained in:
Erik Arvstedt 2021-08-05 00:49:10 +02:00
parent 01804e6dfb
commit 308a11f22b
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -106,6 +106,9 @@ let
systemd.services.setup-secrets.preStart = mkIfTest "security" '' systemd.services.setup-secrets.preStart = mkIfTest "security" ''
install -D -o nobody -g nogroup -m777 <(:) /secrets/dummy install -D -o nobody -g nogroup -m777 <(:) /secrets/dummy
''; '';
# Avoid timeout failures on slow CI nodes
systemd.services.postgresql.serviceConfig.TimeoutStartSec = "3min";
} }
(mkIf config.test.features.clightningPlugins { (mkIf config.test.features.clightningPlugins {
services.clightning.plugins = { services.clightning.plugins = {