fix test
This commit is contained in:
parent
fac9182aa6
commit
39f0ff4e7c
|
@ -38,7 +38,7 @@ func TestClientASync(t *testing.T) {
|
|||
forever:
|
||||
for {
|
||||
select {
|
||||
case n := <-c.Incoming:
|
||||
case n := <-c.Reply:
|
||||
if n.Reply != nil && n.Reply.Rcode != RcodeSuccess {
|
||||
t.Log("Failed to get an valid answer")
|
||||
t.Fail()
|
||||
|
|
Loading…
Reference in New Issue