about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/plikd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/plikd.nix')
-rw-r--r--nixpkgs/nixos/tests/plikd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/nixos/tests/plikd.nix b/nixpkgs/nixos/tests/plikd.nix
index 8fec93c01f6b..97c254a5f7b0 100644
--- a/nixpkgs/nixos/tests/plikd.nix
+++ b/nixpkgs/nixos/tests/plikd.nix
@@ -4,7 +4,7 @@ import ./make-test-python.nix ({ lib, ... }: {
     maintainers = [ freezeboy ];
   };
 
-  machine = { pkgs, ... }: let
+  nodes.machine = { pkgs, ... }: let
   in {
     services.plikd.enable = true;
     environment.systemPackages = [ pkgs.plik ];
@@ -15,7 +15,7 @@ import ./make-test-python.nix ({ lib, ... }: {
     machine.wait_for_unit("plikd")
 
     # Network test
-    machine.wait_for_open_port("8080")
+    machine.wait_for_open_port(8080)
     machine.succeed("curl --fail -v http://localhost:8080")
 
     # Application test