mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
nixos/tests/leaps.nix: fixed race condition
This commit is contained in:
parent
6cdff59992
commit
f8ad48ea1d
@ -24,6 +24,7 @@ import ./make-test.nix ({ pkgs, ... }:
|
||||
''
|
||||
startAll;
|
||||
$server->waitForOpenPort(6666);
|
||||
$client->succeed("curl http://server:6666/leaps/ | grep -i 'leaps'");
|
||||
$client->waitForUnit("network.target");
|
||||
$client->succeed("${pkgs.curl}/bin/curl http://server:6666/leaps/ | grep -i 'leaps'");
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user