nixos/tests/morty: fix non-deterministic failure

... due to improper timing
This commit is contained in:
Uli Baum
2018-06-13 16:29:58 +02:00
committed by Robin Gloster
parent 606ff955fb
commit 41f3dee176
+2 -2
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");
'';