diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-13 00:14:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 00:14:56 +0000 |
commit | d376dd79d43b272eb6bbf56d1f2a360f247c9062 (patch) | |
tree | 2b6427ba7bc339decaa8fd001e59213b2d250a8a /nixos/tests/knot.nix | |
parent | f99ca4f116300f57b10779ebd9d003e06d0dac88 (diff) | |
parent | d86162ba93560effc1ccf7454b61470c08eb61da (diff) |
Merge staging-next-23.11 into staging-23.11
Diffstat (limited to 'nixos/tests/knot.nix')
-rw-r--r-- | nixos/tests/knot.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/knot.nix b/nixos/tests/knot.nix index 44efd93b6fa95..ae4023191aeee 100644 --- a/nixos/tests/knot.nix +++ b/nixos/tests/knot.nix @@ -172,6 +172,10 @@ in { primary.wait_for_unit("knot.service") secondary.wait_for_unit("knot.service") + for zone in ("example.com.", "sub.example.com."): + secondary.wait_until_succeeds( + f"knotc zone-status {zone} | grep -q 'serial: 2019031302'" + ) def test(host, query_type, query, pattern): out = client.succeed(f"khost -t {query_type} {query} {host}").strip() |