nixos/tests/hibernate: prevent non-deterministic failure (#46882)
... that occurred mostly on i686. Improve timing. With this, the failures are no longer reproducible on my machine.
This commit is contained in:
parent
daf40ab165
commit
beb8ca2887
@ -35,8 +35,8 @@ import ./make-test.nix (pkgs: {
|
||||
$machine->waitForOpenPort(4444);
|
||||
$machine->succeed("systemctl hibernate &");
|
||||
$machine->waitForShutdown;
|
||||
$probe->waitForUnit("multi-user.target");
|
||||
$machine->start;
|
||||
$probe->waitForUnit("network.target");
|
||||
$probe->waitUntilSucceeds("echo test | nc machine 4444 -N");
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user