n8n: fix test
This commit is contained in:
parent
fe5ff7c413
commit
c54c71b4ec
|
@ -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}/")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue