aboutsummaryrefslogtreecommitdiffstats
path: root/tests/by-name
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-26 01:18:58 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 00:55:53 +0100
commiteacc89b55cb4abceee1db011c1a097d229b7180a (patch)
tree333195ec313374da7321cebede7f0a89cd10bf1d /tests/by-name
parenttests: Wait for nginx to reload before checking certificate acquisition (diff)
downloadnixos-server-eacc89b55cb4abceee1db011c1a097d229b7180a.zip
tests/atuin-sync: Use the `ports` `vhack.runTest` argument
Diffstat (limited to '')
-rw-r--r--tests/by-name/at/atuin-sync/test.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/by-name/at/atuin-sync/test.nix b/tests/by-name/at/atuin-sync/test.nix
index 4fe3add..8645964 100644
--- a/tests/by-name/at/atuin-sync/test.nix
+++ b/tests/by-name/at/atuin-sync/test.nix
@@ -8,10 +8,9 @@
in
vhack.runTest {
name = "atuin-sync";
+
serverDomains = [
- {
- server = "atuin-sync.server";
- }
+ {server = "atuin-sync.server";}
];
nodes = let
@@ -51,6 +50,10 @@ in
{server = "turtle.service";}
];
+ ports = [
+ {server = 443;}
+ ];
+
testScript = {nodes, ...}: let
mkSyncConfig = pkgs.writeShellScript "register-atuin-sync-account" ''
mkdir --parents ~/.config/turtle/
@@ -86,8 +89,6 @@ in
in
# Python
''
- server.wait_for_open_port(443)
-
# Wait for the server to acquire the acme certificate
client1.wait_until_succeeds("curl https://atuin-sync.server")