dnsforward: imp test

This commit is contained in:
Ainar Garipov 2024-11-01 16:29:06 +03:00
parent 5efcfda937
commit 2611fd5781

View file

@ -592,6 +592,8 @@ func TestSafeSearch(t *testing.T) {
r, _, errExch := client.Exchange(req, addr)
if assert.NoError(c, errExch) {
once.Do(func() { reply = r })
} else {
t.Logf("got error: %v", errExch)
}
}, testTimeout*10, testTimeout)