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
rss-bridge: 2024-02-02 -> 2025-01-02 (#372627)
[NixPkgs.git]
/
nixos
/
tests
/
nixos-test-driver
/
timeout.nix
blob
d793f29be9207a69035c57d2d07fd5c7cd101374
1
{
2
name = "Test that sleep of 6 seconds fails a timeout of 5 seconds";
3
globalTimeout = 5;
4
5
nodes = {
6
machine = (
7
{ pkgs, ... }:
8
{
9
}
10
);
11
};
12
13
testScript = ''
14
start_all()
15
machine.wait_for_unit("multi-user.target")
16
machine.succeed("sleep 6")
17
'';
18
}