Fix unit test after dns library upgrade to account for correct data length
This commit is contained in:
parent
03abd7157b
commit
25e64b5362
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue