nixos/test/doh-proxy-rust: fix failing check

This commit is contained in:
Fabian Möller 2022-01-22 23:17:27 +01:00
parent d15b4964bd
commit c1a042c798
No known key found for this signature in database
GPG key ID: 70B29D65DD8A7E31

View file

@ -38,6 +38,6 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
machine.wait_for_unit("doh-proxy-rust.service")
machine.wait_for_open_port(53)
machine.wait_for_open_port(3000)
machine.succeed(f"curl --fail '{url}?dns={query}' | grep -F {bin_ip}")
machine.succeed(f"curl --fail -H 'Accept: application/dns-message' '{url}?dns={query}' | grep -F {bin_ip}")
'';
})