From 3cf98c1e0e266b689e52102b579a1be00448539a Mon Sep 17 00:00:00 2001 From: teutat3s <teutates@mailbox.org> Date: Tue, 25 Mar 2025 18:39:26 +0100 Subject: [PATCH] tests/keycloak: need to start acme-server --- tests/keycloak.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/keycloak.nix b/tests/keycloak.nix index 5224b99..2ab4ece 100644 --- a/tests/keycloak.nix +++ b/tests/keycloak.nix @@ -76,8 +76,15 @@ in wmClass = su "${gdbus} ${gseval} global.display.focus_window.wm_class"; in '' - nachtigall.start() + acme_server.start() + acme_server.wait_for_unit("default.target") + acme_server.wait_for_unit("step-ca.service") + acme_server.succeed("ping ca.test.pub.solar -c 2") + 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 127.0.0.1 -c 2") nachtigall.wait_for_unit("nginx.service")