fix(wcth): match legacy TH w/ empty DNS reply (#546)
See https://github.com/ooni/probe/issues/1707#issuecomment-944322725
This commit is contained in:
parent
2d1666b88b
commit
2fa87f0e00
3 changed files with 11 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ func Test_dnsMapFailure(t *testing.T) {
|
|||
}, {
|
||||
name: "no answer",
|
||||
failure: stringPointerForString(netxlite.FailureDNSNoAnswer),
|
||||
want: stringPointerForString("dns_server_failure"),
|
||||
want: nil,
|
||||
}, {
|
||||
name: "non recoverable failure",
|
||||
failure: stringPointerForString(netxlite.FailureDNSNonRecoverableFailure),
|
||||
|
|
|
|||
Loading…
Reference in a new issue