Skip to content

Commit

Permalink
nixos/lib/testing: set default timeout for VM tests
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Feb 16, 2023
1 parent 8443492 commit 254426e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/lib/testing/meta.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in
};
timeout = lib.mkOption {
type = types.nullOr types.int;
default = null; # NOTE: null values are filtered out by `meta`.
default = 3600; # 1 hour
description = mdDoc ''
The [{option}`test`](#test-opt-test)'s [`meta.timeout`](https://nixos.org/manual/nixpkgs/stable/#var-meta-timeout) in seconds.
'';
Expand Down

0 comments on commit 254426e

Please sign in to comment.