From 308a11f22b0f544457afd9e04d18bf79ccc033ee Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 5 Aug 2021 00:49:10 +0200 Subject: [PATCH] tests: avoid postgresql timeout failures on CI nodes --- test/tests.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/tests.nix b/test/tests.nix index 86c4216..f68374e 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -106,6 +106,9 @@ let systemd.services.setup-secrets.preStart = mkIfTest "security" '' 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 { services.clightning.plugins = {