mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
nixos/nitter: fix wait_for_open_port
This commit is contained in:
parent
184698391d
commit
053e10dfbc
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.wait_for_unit("nitter.service")
|
machine.wait_for_unit("nitter.service")
|
||||||
machine.wait_for_open_port("80")
|
machine.wait_for_open_port(80)
|
||||||
machine.succeed("curl --fail http://localhost:80/")
|
machine.succeed("curl --fail http://localhost:80/")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue