tests: wait for acme_server before starting nachtigall

to avoid a race between step-ca and acme-client
This commit is contained in:
teutat3s 2025-03-04 20:21:54 +01:00
parent db94060b22
commit 5dca2382e1
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -44,7 +44,7 @@
};
testScript = ''
start_all()
acme_server.start()
acme_server.wait_for_unit("default.target")
acme_server.wait_for_unit("step-ca.service")
@ -52,6 +52,7 @@
acme_server.wait_for_open_port(443)
acme_server.wait_until_succeeds("curl 127.0.0.1:443")
nachtigall.start()
nachtigall.wait_for_unit("default.target")
nachtigall.succeed("ping test.pub.solar -c 2")
nachtigall.succeed("ping ca.test.pub.solar -c 2")