Skip to content

Commit

Permalink
Merge pull request #1411 from hashicorp/b-truncated
Browse files Browse the repository at this point in the history
Fixes unit test fail due to expected truncated message.
  • Loading branch information
slackpad committed Nov 13, 2015
2 parents 081b916 + 98731f7 commit a1ab10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ func TestDNS_ServiceLookup_Truncate(t *testing.T) {
addr, _ := srv.agent.config.ClientListener("", srv.agent.config.Ports.DNS)
c := new(dns.Client)
in, _, err := c.Exchange(m, addr.String())
if err != nil {
if err != nil && err != dns.ErrTruncated {
t.Fatalf("err: %v", err)
}

Expand Down

0 comments on commit a1ab10f

Please sign in to comment.