mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixosTests.n8n: add simple config
Currently fails.
This commit is contained in:
parent
6bda2431f4
commit
6922af6e7a
1 changed files with 8 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ in
|
|||
node.pkgsReadOnly = false;
|
||||
|
||||
nodes = {
|
||||
machine_simple = {
|
||||
services.n8n.enable = true;
|
||||
};
|
||||
machine_configured = {
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
|
|
@ -51,6 +54,11 @@ in
|
|||
};
|
||||
|
||||
testScript = ''
|
||||
machine_simple.wait_for_unit("n8n.service")
|
||||
machine_simple.wait_for_console_text("Editor is now accessible via")
|
||||
machine_simple.succeed("curl --fail -vvv http://localhost:${toString port}/")
|
||||
|
||||
|
||||
machine_configured.wait_for_unit("n8n.service")
|
||||
machine_configured.wait_for_console_text("Editor is now accessible via")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue