Fix the client_test

This commit is contained in:
Miek Gieben 2012-01-11 14:22:49 +01:00
parent bbd8c42de6
commit 758f0f9ce3
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ func TestClientTsigAXFR(t *testing.T) {
if err := c.XfrReceive(m, "85.223.71.124:53"); err != nil {
t.Log("Failed to setup axfr" + err.Error())
t.Fail()
return // Forgot this
}
for {
ex := <-c.ReplyChan
@ -103,6 +104,7 @@ func TestClientAXFRMultipleMessages(t *testing.T) {
if err := c.XfrReceive(m, "85.223.71.124:53"); err != nil {
t.Log("Failed to setup axfr" + err.Error())
t.Fail()
return
}
for {
ex := <-c.ReplyChan