more resolver fixes, also in the tests
This commit is contained in:
parent
9b6f66c1bb
commit
5721b8ff79
|
@ -32,17 +32,13 @@ func TestClientASync(t *testing.T) {
|
|||
m := new(Msg)
|
||||
m.SetQuestion("miek.nl", TypeSOA)
|
||||
|
||||
println("SENDING")
|
||||
c := NewClient()
|
||||
println("SENDING II")
|
||||
c.Do(m, "85.223.71.124:53")
|
||||
|
||||
println("REPLY")
|
||||
forever:
|
||||
for {
|
||||
select {
|
||||
case n := <-DefaultReplyChan:
|
||||
println("REPLY")
|
||||
if n[1] != nil && n[1].Rcode != RcodeSuccess {
|
||||
t.Log("Failed to get an valid answer")
|
||||
t.Fail()
|
||||
|
|
Loading…
Reference in New Issue