n8n: fix test

This commit is contained in:
K900 2022-06-07 23:46:49 +03:00
parent fe5ff7c413
commit c54c71b4ec

View file

@ -7,7 +7,7 @@ let
in in
{ {
name = "n8n"; name = "n8n";
meta.maintainers = with maintainers; [ freezeboy ]; meta.maintainers = with maintainers; [ freezeboy k900 ];
nodes.machine = nodes.machine =
{ pkgs, ... }: { pkgs, ... }:
@ -19,7 +19,7 @@ in
testScript = '' testScript = ''
machine.wait_for_unit("n8n.service") machine.wait_for_unit("n8n.service")
machine.wait_for_open_port("${toString port}") machine.wait_for_open_port(${toString port})
machine.succeed("curl --fail http://localhost:${toString port}/") machine.succeed("curl --fail http://localhost:${toString port}/")
''; '';
}) })