tests: add default timeout
Set a timeout at two minutes to catch tests that fail to boot.
This commit is contained in:
parent
a0da21e1f8
commit
bb516f2da6
|
@ -58,6 +58,8 @@ rec {
|
||||||
|
|
||||||
LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
|
LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = { timeout = 120; } // driver.meta or { };
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultTestScript = ''
|
defaultTestScript = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user