mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 05:55:43 +03:00
dnsforward: imp test
This commit is contained in:
parent
5efcfda937
commit
2611fd5781
1 changed files with 2 additions and 0 deletions
|
@ -592,6 +592,8 @@ func TestSafeSearch(t *testing.T) {
|
||||||
r, _, errExch := client.Exchange(req, addr)
|
r, _, errExch := client.Exchange(req, addr)
|
||||||
if assert.NoError(c, errExch) {
|
if assert.NoError(c, errExch) {
|
||||||
once.Do(func() { reply = r })
|
once.Do(func() { reply = r })
|
||||||
|
} else {
|
||||||
|
t.Logf("got error: %v", errExch)
|
||||||
}
|
}
|
||||||
}, testTimeout*10, testTimeout)
|
}, testTimeout*10, testTimeout)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue