mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-07 18:16:57 +02:00
Remove unnecessary test
This commit is contained in:
parent
bd568e9ba9
commit
f8ae66efab
@ -1070,43 +1070,6 @@ func TestGatewayHTTPRouteSourceEndpoints(t *testing.T) {
|
|||||||
newTestEndpoint("test.example.internal", "A", "4.3.2.1"),
|
newTestEndpoint("test.example.internal", "A", "4.3.2.1"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: "AnnotationOverrideMultipleStatusAddresses",
|
|
||||||
config: Config{
|
|
||||||
GatewayNamespace: "gateway-namespace",
|
|
||||||
},
|
|
||||||
namespaces: namespaces("gateway-namespace", "route-namespace"),
|
|
||||||
gateways: []*v1beta1.Gateway{
|
|
||||||
{
|
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
|
||||||
Name: "overriden-gateway",
|
|
||||||
Namespace: "gateway-namespace",
|
|
||||||
Annotations: map[string]string{
|
|
||||||
targetAnnotationKey: "4.3.2.1",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Spec: v1beta1.GatewaySpec{
|
|
||||||
Listeners: []v1beta1.Listener{{
|
|
||||||
Protocol: v1beta1.HTTPProtocolType,
|
|
||||||
AllowedRoutes: allowAllNamespaces,
|
|
||||||
}},
|
|
||||||
},
|
|
||||||
Status: gatewayStatus("1.2.3.4", "2.3.4.5"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
routes: []*v1beta1.HTTPRoute{{
|
|
||||||
ObjectMeta: objectMeta("route-namespace", "test"),
|
|
||||||
Spec: v1beta1.HTTPRouteSpec{
|
|
||||||
Hostnames: hostnames("test.example.internal"),
|
|
||||||
},
|
|
||||||
Status: httpRouteStatus( // The route is attached to both gateways.
|
|
||||||
gatewayParentRef("gateway-namespace", "overriden-gateway"),
|
|
||||||
),
|
|
||||||
}},
|
|
||||||
endpoints: []*endpoint.Endpoint{
|
|
||||||
newTestEndpoint("test.example.internal", "A", "4.3.2.1"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: "MutlipleGatewaysOneAnnotationOverride",
|
title: "MutlipleGatewaysOneAnnotationOverride",
|
||||||
config: Config{
|
config: Config{
|
||||||
|
Loading…
Reference in New Issue
Block a user