diff --git a/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.go b/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.go index a152706611..8e4382522d 100644 --- a/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.go +++ b/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.go @@ -41,7 +41,7 @@ var HTTPRouteInvalidParentRefSectionNameNotMatchingPort = suite.ConformanceTest{ Manifests: []string{"tests/httproute-invalid-parentref-section-name-not-matching-port.yaml"}, Test: func(t *testing.T, suite *suite.ConformanceTestSuite) { routeNN := types.NamespacedName{Name: "httproute-listener-section-name-not-matching-port", Namespace: "gateway-conformance-infra"} - gwNN := types.NamespacedName{Name: "gateway-with-one-not-matching-port-and-section-name-route", Namespace: "gateway-conformance-infra"} + gwNN := types.NamespacedName{Name: "gw-with-one-section-name-not-matching-port-route", Namespace: "gateway-conformance-infra"} // The Route must have an Accepted Condition with a NoMatchingParent Reason. t.Run("HTTPRoute with sectionName does not match Port in ParentRef has an Accepted Condition with status False and Reason NoMatchingParent", func(t *testing.T) { diff --git a/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.yaml b/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.yaml index 40440f93dd..5d05ae7436 100644 --- a/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.yaml +++ b/conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.yaml @@ -1,7 +1,7 @@ apiVersion: gateway.networking.k8s.io/v1 kind: Gateway metadata: - name: gateway-with-one-not-matching-port-and-section-name-route + name: gw-with-one-section-name-not-matching-port-route namespace: gateway-conformance-infra spec: gatewayClassName: "{GATEWAY_CLASS_NAME}" @@ -22,7 +22,7 @@ metadata: namespace: gateway-conformance-infra spec: parentRefs: - - name: gateway-with-one-not-matching-port-and-section-name-route + - name: gw-with-one-section-name-not-matching-port-route namespace: gateway-conformance-infra sectionName: http # mismatched port value here (81 does not match gateway http listener's port) triggers NoMatchingParent reason