test: speed up clightning startup when offline

This commit is contained in:
Erik Arvstedt 2020-09-28 13:09:08 +02:00
parent 7d1797cec7
commit 1a32292e07
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

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