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/teleport.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/teleport.nix')
-rw-r--r-- | nixos/tests/teleport.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/tests/teleport.nix b/nixos/tests/teleport.nix index 15b16e44409d3..34bf1bc0c70d0 100644 --- a/nixos/tests/teleport.nix +++ b/nixos/tests/teleport.nix @@ -72,9 +72,9 @@ in nodes = { inherit minimal; }; testScript = '' - minimal.wait_for_open_port("3025") - minimal.wait_for_open_port("3080") - minimal.wait_for_open_port("3022") + minimal.wait_for_open_port(3025) + minimal.wait_for_open_port(3080) + minimal.wait_for_open_port(3022) ''; }; @@ -86,12 +86,12 @@ in testScript = '' with subtest("teleport ready"): - server.wait_for_open_port("3025") - client.wait_for_open_port("3022") + server.wait_for_open_port(3025) + client.wait_for_open_port(3022) with subtest("check applied configuration"): server.wait_until_succeeds("tctl get nodes --format=json | ${pkgs.jq}/bin/jq -e '.[] | select(.spec.hostname==\"client\") | .metadata.labels.role==\"client\"'") - server.wait_for_open_port("3000") + server.wait_for_open_port(3000) client.succeed("journalctl -u teleport.service --grep='DEBU'") server.succeed("journalctl -u teleport.service --grep='Starting teleport in insecure mode.'") ''; |