about summary refs log tree commit diff
path: root/nixos/tests/vsftpd.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/vsftpd.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/vsftpd.nix')
-rw-r--r--nixos/tests/vsftpd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/vsftpd.nix b/nixos/tests/vsftpd.nix
index 4bea27f0eb109..6eaf32b225838 100644
--- a/nixos/tests/vsftpd.nix
+++ b/nixos/tests/vsftpd.nix
@@ -29,7 +29,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
   testScript = ''
     client.start()
     server.wait_for_unit("vsftpd")
-    server.wait_for_open_port("21")
+    server.wait_for_open_port(21)
 
     client.succeed("curl -u ftp-test-user:ftp-test-password ftp://server")
     client.succeed('echo "this is a test" > /tmp/test.file.up')