repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vuls: init at 0.27.0
[NixPkgs.git]
/
nixos
/
tests
/
nixos-test-driver
/
timeout.nix
blob
29bd85d2498ea7d3ab3645abe1bac33f3d7c7a2e
1
{
2
name = "Test that sleep of 6 seconds fails a timeout of 5 seconds";
3
globalTimeout = 5;
4
5
nodes = {
6
machine = ({ pkgs, ... }: {
7
});
8
};
9
10
testScript = ''
11
start_all()
12
machine.wait_for_unit("multi-user.target")
13
machine.succeed("sleep 6")
14
'';
15
}