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:
parent
2fd1b7b61a
commit
cead194b2a
6 changed files with 18 additions and 3 deletions
|
|
@ -95,6 +95,9 @@ in
|
||||||
pkgs.testers.runNixOSTest {
|
pkgs.testers.runNixOSTest {
|
||||||
name = "agent-ephemeral-rootfs";
|
name = "agent-ephemeral-rootfs";
|
||||||
|
|
||||||
|
# Without this the driver allows an hour, the runner's whole job limit.
|
||||||
|
globalTimeout = 1800;
|
||||||
|
|
||||||
nodes.host =
|
nodes.host =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,9 @@ let
|
||||||
name = "full-setup";
|
name = "full-setup";
|
||||||
|
|
||||||
# Boot of fourteen containers and the setup steps, with the waits' own
|
# Boot of fourteen containers and the setup steps, with the waits' own
|
||||||
# bounds well inside.
|
# bounds well inside. Below the runner's one-hour job limit, which also
|
||||||
globalTimeout = 7200;
|
# covers the build before the test starts.
|
||||||
|
globalTimeout = 2400;
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,9 @@ in
|
||||||
pkgs.testers.runNixOSTest {
|
pkgs.testers.runNixOSTest {
|
||||||
name = "hive-egress-antispoof";
|
name = "hive-egress-antispoof";
|
||||||
|
|
||||||
|
# Without this the driver allows an hour, the runner's whole job limit.
|
||||||
|
globalTimeout = 1800;
|
||||||
|
|
||||||
nodes.host =
|
nodes.host =
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,9 @@ in
|
||||||
pkgs.testers.runNixOSTest {
|
pkgs.testers.runNixOSTest {
|
||||||
name = "hive-squid";
|
name = "hive-squid";
|
||||||
|
|
||||||
|
# Without this the driver allows an hour, the runner's whole job limit.
|
||||||
|
globalTimeout = 1800;
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
proxy =
|
proxy =
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
|
||||||
|
|
@ -653,7 +653,9 @@ pkgs.testers.runNixOSTest (
|
||||||
name = "semi-spread";
|
name = "semi-spread";
|
||||||
|
|
||||||
# Three hosts' boots, the setup ceremony and the agents' build and pull.
|
# 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 =
|
nodes.swarm =
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,9 @@ in
|
||||||
pkgs.testers.runNixOSTest {
|
pkgs.testers.runNixOSTest {
|
||||||
name = "swarm-archive";
|
name = "swarm-archive";
|
||||||
|
|
||||||
|
# Without this the driver allows an hour, the runner's whole job limit.
|
||||||
|
globalTimeout = 1800;
|
||||||
|
|
||||||
nodes.machine = archiveNode { };
|
nodes.machine = archiveNode { };
|
||||||
|
|
||||||
nodes.s3archive = archiveNode {
|
nodes.s3archive = archiveNode {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue