From 1a32292e07c8e406ba0b9a66793e8cd1d939a12d Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 28 Sep 2020 13:09:08 +0200 Subject: [PATCH] test: speed up clightning startup when offline --- test/tests.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/tests.nix b/test/tests.nix index afac7c0..7456a90 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -29,6 +29,8 @@ let testEnv = rec { }; tests.clightning = cfg.clightning.enable; + # When WAN is disabled, DNS bootstrapping slows down service startup by ~15 s. + services.clightning.extraConfig = mkIf config.test.noConnections "disable-dns"; tests.spark-wallet = cfg.spark-wallet.enable;