mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
nixos/test/doh-proxy-rust: fix failing check
This commit is contained in:
parent
d15b4964bd
commit
c1a042c798
|
@ -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}")
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue