diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2022-06-11 14:22:53 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2022-06-11 14:22:53 +0200 |
commit | 580370666239e426df70ab4996dc5b5512a2c303 (patch) | |
tree | 2b7b01275f7a2b958eab7737b7eb0d4a4ce677a1 /nixos/tests/caddy.nix | |
parent | 6bd5219cc1a2a9a6d703f80d8b473c0c25f22a3e (diff) |
nixos/tests: fix type mismatch in wait_for_open_port
Fix some fallout from de3e423 (PR #171280).
Diffstat (limited to 'nixos/tests/caddy.nix')
-rw-r--r-- | nixos/tests/caddy.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/caddy.nix b/nixos/tests/caddy.nix index 16436ab52800..c4abd33d0395 100644 --- a/nixos/tests/caddy.nix +++ b/nixos/tests/caddy.nix @@ -61,7 +61,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { '' url = "http://localhost/example.html" webserver.wait_for_unit("caddy") - webserver.wait_for_open_port("80") + webserver.wait_for_open_port(80) def check_etag(url): @@ -95,13 +95,13 @@ import ./make-test-python.nix ({ pkgs, ... }: { webserver.succeed( "${justReloadSystem}/bin/switch-to-configuration test >&2" ) - webserver.wait_for_open_port("8080") + webserver.wait_for_open_port(8080) with subtest("multiple configs are correctly merged"): webserver.succeed( "${multipleConfigs}/bin/switch-to-configuration test >&2" ) - webserver.wait_for_open_port("8080") - webserver.wait_for_open_port("8081") + webserver.wait_for_open_port(8080) + webserver.wait_for_open_port(8081) ''; }) |