mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
test: fix test with LB hostname
This commit is contained in:
parent
f721b415db
commit
13f6df502d
@ -122,8 +122,8 @@ func TestAmbassadorHostSource(t *testing.T) {
|
|||||||
expected: []*endpoint.Endpoint{
|
expected: []*endpoint.Endpoint{
|
||||||
{
|
{
|
||||||
DNSName: "www.example.org",
|
DNSName: "www.example.org",
|
||||||
RecordType: endpoint.RecordTypeA,
|
RecordType: endpoint.RecordTypeCNAME,
|
||||||
Targets: endpoint.Targets{"8.8.4.4", "8.8.8.8"},
|
Targets: endpoint.Targets{"dns.google"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
@ -289,7 +289,7 @@ func TestAmbassadorHostSource(t *testing.T) {
|
|||||||
},
|
},
|
||||||
expected: []*endpoint.Endpoint{},
|
expected: []*endpoint.Endpoint{},
|
||||||
},
|
},
|
||||||
}{
|
} {
|
||||||
ti := ti
|
ti := ti
|
||||||
t.Run(ti.title, func(t *testing.T) {
|
t.Run(ti.title, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
Loading…
Reference in New Issue
Block a user