nixos/tests/morty: fix non-deterministic failure
... due to improper timing
This commit is contained in:
parent
606ff955fb
commit
41f3dee176
@ -22,9 +22,9 @@ import ./make-test.nix ({ pkgs, ... }:
|
|||||||
testScript =
|
testScript =
|
||||||
{ nodes , ... }:
|
{ nodes , ... }:
|
||||||
''
|
''
|
||||||
startAll;
|
$mortyProxyWithKey->waitForUnit("default.target");
|
||||||
|
|
||||||
$mortyProxyWithKey->waitForUnit("morty");
|
$mortyProxyWithKey->waitForOpenPort(3001);
|
||||||
$mortyProxyWithKey->succeed("curl -L 127.0.0.1:3001 | grep MortyProxy");
|
$mortyProxyWithKey->succeed("curl -L 127.0.0.1:3001 | grep MortyProxy");
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user