Skip to content

Commit

Permalink
Fix unit test after dns library upgrade to account for correct data l…
Browse files Browse the repository at this point in the history
…ength
  • Loading branch information
Preetha Appan committed Oct 6, 2017
1 parent 5f5e752 commit e7dc345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ func TestDNS_ServiceLookupWithInternalServiceAddress(t *testing.T) {

wantAnswer := []dns.RR{
&dns.SRV{
Hdr: dns.RR_Header{Name: "db.service.consul.", Rrtype: 0x21, Class: 0x1, Rdlength: 0x15},
Hdr: dns.RR_Header{Name: "db.service.consul.", Rrtype: 0x21, Class: 0x1, Rdlength: 0x1b},
Priority: 0x1,
Weight: 0x1,
Port: 12345,
Expand Down

0 comments on commit e7dc345

Please sign in to comment.