Merge pull request #176341 from erdnaxe/nitter_test_fix
nixos/nitter: fix wait_for_open_port
This commit is contained in:
commit
9648de3055
|
@ -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…
Reference in a new issue