Skip to content

Commit

Permalink
checks/{vm,iperf}: extend systemd timeouts for slow Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Jan 25, 2024
1 parent 97393a9 commit ba4fddb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions checks/iperf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
}
];
};
Expand Down
4 changes: 4 additions & 0 deletions checks/vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit ba4fddb

Please sign in to comment.