Fix unit test after dns library upgrade to account for correct data length

This commit is contained in:
Preetha Appan 2017-10-06 17:40:17 -05:00
parent 03abd7157b
commit 25e64b5362
1 changed files with 1 additions and 1 deletions

View File

@ -796,7 +796,7 @@ func TestDNS_ServiceLookupWithInternalServiceAddress(t *testing.T) {
wantAnswer := []dns.RR{ wantAnswer := []dns.RR{
&dns.SRV{ &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, Priority: 0x1,
Weight: 0x1, Weight: 0x1,
Port: 12345, Port: 12345,