mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixos/tests/dnsdist: fix dnscrypt test
This commit is contained in:
parent
b5d0eb125c
commit
3b1a5a3938
1 changed files with 2 additions and 1 deletions
|
@ -92,10 +92,11 @@ in
|
|||
almost_expiration = server.succeed("date --date '14min'").strip()
|
||||
|
||||
with subtest("The DNSCrypt client can connect to the server"):
|
||||
client.wait_until_succeeds("journalctl -u dnscrypt-proxy2 --grep '\[server\] OK'")
|
||||
client.wait_until_succeeds("journalctl -u dnscrypt-proxy2 --grep '\\[server\\] OK'")
|
||||
|
||||
with subtest("DNS queries over UDP are working"):
|
||||
client.wait_for_open_port(53)
|
||||
client.wait_until_succeeds("host -U 192.168.0.1", timeout=60)
|
||||
client.succeed("host -U 192.168.0.1 | grep -qF ns.example.org")
|
||||
|
||||
with subtest("DNS queries over TCP are working"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue