mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
Fix unit test after dns library upgrade to account for correct data length
This commit is contained in:
parent
5f5e7529df
commit
e7dc345cfa
@ -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…
x
Reference in New Issue
Block a user