Skip to content

Commit a37a1bb

Browse files
committed
checks/{vm,iperf}: extend systemd timeouts for slow Github CI
1 parent c61ef9f commit a37a1bb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

checks/iperf.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ nixpkgs.lib.optionalAttrs (builtins.elem hypervisor self.lib.hypervisorsWithNetw
3232
};
3333
networking.firewall.enable = false;
3434
services.iperf3.enable = true;
35+
# Hack for slow Github CI
36+
systemd.extraConfig = ''
37+
DefaultTimeoutStartSec=600
38+
'';
3539
}
3640
];
3741
};

checks/vm.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
];
1717
# Must be big enough for the store overlay volume
1818
virtualisation.diskSize = 4096;
19+
# Hack for slow Github CI
20+
systemd.extraConfig = ''
21+
DefaultTimeoutStartSec=600
22+
'';
1923

2024
microvm.vms."${system}-${hypervisor}-example".flake = self;
2125
};

0 commit comments

Comments
 (0)