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:
parent
606ff955fb
commit
41f3dee176
|
@ -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");
|
||||
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue