about summary refs log tree commit diff
path: root/nixos/tests/podgrab.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2022-06-11 14:22:53 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2022-06-11 14:22:53 +0200
commit580370666239e426df70ab4996dc5b5512a2c303 (patch)
tree2b7b01275f7a2b958eab7737b7eb0d4a4ce677a1 /nixos/tests/podgrab.nix
parent6bd5219cc1a2a9a6d703f80d8b473c0c25f22a3e (diff)
nixos/tests: fix type mismatch in wait_for_open_port
Fix some fallout from de3e423 (PR #171280).
Diffstat (limited to 'nixos/tests/podgrab.nix')
-rw-r--r--nixos/tests/podgrab.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/podgrab.nix b/nixos/tests/podgrab.nix
index e927e25fea569..e5a340dc2ac83 100644
--- a/nixos/tests/podgrab.nix
+++ b/nixos/tests/podgrab.nix
@@ -22,11 +22,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     start_all()
 
     default.wait_for_unit("podgrab")
-    default.wait_for_open_port("${toString defaultPort}")
+    default.wait_for_open_port(defaultPort)
     default.succeed("curl --fail http://localhost:${toString defaultPort}")
 
     customized.wait_for_unit("podgrab")
-    customized.wait_for_open_port("${toString customPort}")
+    customized.wait_for_open_port(customPort)
     customized.succeed("curl --fail http://localhost:${toString customPort}")
   '';