mirror of
https://github.com/coredns/coredns.git
synced 2025-10-08 14:01:34 +02:00
parent
1d5095cf67
commit
d0c9254409
@ -71,7 +71,7 @@ func TestSecondaryZoneTransfer(t *testing.T) {
|
|||||||
m.SetQuestion("example.org.", dns.TypeSOA)
|
m.SetQuestion("example.org.", dns.TypeSOA)
|
||||||
|
|
||||||
var r *dns.Msg
|
var r *dns.Msg
|
||||||
// This is now async; we we need to wait for it to be transfered.
|
// This is now async; we we need to wait for it to be transferred.
|
||||||
for i := 0; i < 10; i++ {
|
for i := 0; i < 10; i++ {
|
||||||
r, _ = dns.Exchange(m, udp)
|
r, _ = dns.Exchange(m, udp)
|
||||||
if len(r.Answer) == 0 {
|
if len(r.Answer) == 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user