nixos/tests/dnsdist: fix dnscrypt test
This commit is contained in:
parent
b5d0eb125c
commit
3b1a5a3938
@ -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…
x
Reference in New Issue
Block a user