mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nixos/tests/acme: wait for server to run before starting the target
This is really an ordering issue in the ACME module itself, but while we think of how to fix it, this should at least unflake the tests.
This commit is contained in:
parent
ee6df93fe2
commit
c8fd06c3b2
@ -747,6 +747,7 @@ in {
|
||||
with subtest("Can remove an alias from a domain + cert is updated"):
|
||||
test_alias = f"{server}-{domains[0]}-alias.example.test"
|
||||
switch_to(webserver, f"{server}_remove_alias")
|
||||
wait_for_server()
|
||||
start_and_wait(webserver, f"acme-finished-{test_domain}.target")
|
||||
wait_for_server()
|
||||
check_connection(client, test_domain)
|
||||
|
Loading…
Reference in New Issue
Block a user