diff options
Diffstat (limited to 'nixpkgs/nixos/tests/n8n.nix')
-rw-r--r-- | nixpkgs/nixos/tests/n8n.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nixpkgs/nixos/tests/n8n.nix b/nixpkgs/nixos/tests/n8n.nix index c1753a418f67..771296bf37a5 100644 --- a/nixpkgs/nixos/tests/n8n.nix +++ b/nixpkgs/nixos/tests/n8n.nix @@ -1,13 +1,10 @@ import ./make-test-python.nix ({ lib, ... }: - -with lib; - let port = 5678; in { name = "n8n"; - meta.maintainers = with maintainers; [ freezeboy k900 ]; + meta.maintainers = with lib.maintainers; [ freezeboy k900 ]; nodes.machine = { pkgs, ... }: @@ -19,7 +16,7 @@ in testScript = '' machine.wait_for_unit("n8n.service") - machine.wait_for_open_port(${toString port}) - machine.succeed("curl --fail http://localhost:${toString port}/") + machine.wait_for_console_text("Editor is now accessible via") + machine.succeed("curl --fail -vvv http://localhost:${toString port}/") ''; }) |