2
0
Fork 0

tests: add default timeout

Set a timeout at two minutes to catch tests that fail to boot.
This commit is contained in:
Emery Hemingway 2020-11-27 13:39:32 +01:00
parent 3f4de2d116
commit 70c103d562
1 changed files with 2 additions and 0 deletions

View File

@ -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 = ''