Watch
0
0
Fork
You've already forked hyperhive
0

vm-tests: every test's globalTimeout stays under the one-hour job limit

full-setup 7200 -> 2400, semi-spread 10800 -> 3000, and 1800 on the four tests that used the driver's one-hour default. The runner kills a job at one hour and reports nothing, so a longer test timeout could never fire.
This commit is contained in:
atlas 2026-11-19 11:39:38 +01:00 • committed by mara
commit cead194b2a
6 changed files with 18 additions and 3 deletions

View file

@ -95,6 +95,9 @@ in
pkgs.testers.runNixOSTest {
name = "agent-ephemeral-rootfs";
# Without this the driver allows an hour, the runner's whole job limit.
globalTimeout = 1800;
nodes.host =
{ pkgs, ... }:
{

View file

@ -62,8 +62,9 @@ let
name = "full-setup";
# Boot of fourteen containers and the setup steps, with the waits' own
# bounds well inside.
globalTimeout = 7200;
# bounds well inside. Below the runner's one-hour job limit, which also
# covers the build before the test starts.
globalTimeout = 2400;
nodes.machine =
{ config, ... }:

View file

@ -110,6 +110,9 @@ in
pkgs.testers.runNixOSTest {
name = "hive-egress-antispoof";
# Without this the driver allows an hour, the runner's whole job limit.
globalTimeout = 1800;
nodes.host =
{ config, lib, ... }:
{

View file

@ -130,6 +130,9 @@ in
pkgs.testers.runNixOSTest {
name = "hive-squid";
# Without this the driver allows an hour, the runner's whole job limit.
globalTimeout = 1800;
nodes = {
proxy =
{ lib, pkgs, ... }:

View file

@ -653,7 +653,9 @@ pkgs.testers.runNixOSTest (
name = "semi-spread";
# Three hosts' boots, the setup ceremony and the agents' build and pull.
globalTimeout = 10800;
# Below the runner's one-hour job limit, which also covers the build
# before the test starts.
globalTimeout = 3000;
nodes.swarm =
{ config, ... }:

View file

@ -202,6 +202,9 @@ in
pkgs.testers.runNixOSTest {
name = "swarm-archive";
# Without this the driver allows an hour, the runner's whole job limit.
globalTimeout = 1800;
nodes.machine = archiveNode { };
nodes.s3archive = archiveNode {