From ba4fddbd9618cfffb94729c3d85edcbe195789da Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 25 Jan 2024 02:21:08 +0100 Subject: [PATCH] checks/{vm,iperf}: extend systemd timeouts for slow Github CI --- checks/iperf.nix | 4 ++++ checks/vm.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/checks/iperf.nix b/checks/iperf.nix index 324c7f79..1527674e 100644 --- a/checks/iperf.nix +++ b/checks/iperf.nix @@ -32,6 +32,10 @@ nixpkgs.lib.optionalAttrs (builtins.elem hypervisor self.lib.hypervisorsWithNetw }; networking.firewall.enable = false; services.iperf3.enable = true; + # Hack for slow Github CI + systemd.extraConfig = '' + DefaultTimeoutStartSec=600 + ''; } ]; }; diff --git a/checks/vm.nix b/checks/vm.nix index 3e4b30e9..2b19a6b7 100644 --- a/checks/vm.nix +++ b/checks/vm.nix @@ -16,6 +16,10 @@ ]; # Must be big enough for the store overlay volume virtualisation.diskSize = 4096; + # Hack for slow Github CI + systemd.extraConfig = '' + DefaultTimeoutStartSec=600 + ''; microvm.vms."${system}-${hypervisor}-example".flake = self; };