mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
19 lines
292 B
Nix
19 lines
292 B
Nix
![]() |
{
|
||
|
name = "Test that sleep of 6 seconds fails a timeout of 5 seconds";
|
||
|
globalTimeout = 5;
|
||
|
|
||
|
nodes = {
|
||
|
machine = (
|
||
|
{ pkgs, ... }:
|
||
|
{
|
||
|
}
|
||
|
);
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
start_all()
|
||
|
machine.wait_for_unit("multi-user.target")
|
||
|
machine.succeed("sleep 6")
|
||
|
'';
|
||
|
}
|