more resolver fixes, also in the tests

This commit is contained in:
Miek Gieben 2011-07-04 22:31:07 +02:00
parent 9b6f66c1bb
commit 5721b8ff79
1 changed files with 0 additions and 4 deletions

View File

@ -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()