1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

nixos/tests/morty: fix non-deterministic failure

... due to improper timing
This commit is contained in:
Uli Baum 2018-06-13 12:08:15 +02:00 committed by Robin Gloster
parent 606ff955fb
commit 41f3dee176

View file

@ -22,9 +22,9 @@ import ./make-test.nix ({ pkgs, ... }:
testScript =
{ nodes , ... }:
''
startAll;
$mortyProxyWithKey->waitForUnit("default.target");
$mortyProxyWithKey->waitForUnit("morty");
$mortyProxyWithKey->waitForOpenPort(3001);
$mortyProxyWithKey->succeed("curl -L 127.0.0.1:3001 | grep MortyProxy");
'';