From bb516f2da6af4b380bb9c8fdf9f07c0db382f0a7 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 27 Nov 2020 13:39:32 +0100 Subject: [PATCH] tests: add default timeout Set a timeout at two minutes to catch tests that fail to boot. --- tests/lib/testing-python.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lib/testing-python.nix b/tests/lib/testing-python.nix index 45426ea..f9715d8 100644 --- a/tests/lib/testing-python.nix +++ b/tests/lib/testing-python.nix @@ -58,6 +58,8 @@ rec { LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver ''; + + meta = { timeout = 120; } // driver.meta or { }; }; defaultTestScript = ''