about summary refs log tree commit diff
path: root/nixos/tests/convos.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/convos.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/convos.nix')
-rw-r--r--nixos/tests/convos.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/convos.nix b/nixos/tests/convos.nix
index a13870d170843..72275ab390d99 100644
--- a/nixos/tests/convos.nix
+++ b/nixos/tests/convos.nix
@@ -23,7 +23,7 @@ in
 
   testScript = ''
     machine.wait_for_unit("convos")
-    machine.wait_for_open_port("${toString port}")
+    machine.wait_for_open_port(port)
     machine.succeed("journalctl -u convos | grep -q 'Listening at.*${toString port}'")
     machine.succeed("curl -f http://localhost:${toString port}/")
   '';