Skip to content

Commit 087d3ab

Browse files
authored
Merge pull request #2623 from mlavacca/fix-conformance-test-port-extended
fix(conformance): `parentRef` port is extended
2 parents fd5bc04 + 69ce9ea commit 087d3ab

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

conformance/tests/httproute-invalid-parentref-section-name-not-matching-port.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ var HTTPRouteInvalidParentRefSectionNameNotMatchingPort = suite.ConformanceTest{
3737
Features: []suite.SupportedFeature{
3838
suite.SupportGateway,
3939
suite.SupportHTTPRoute,
40+
suite.SupportHTTPRouteParentRefPort,
4041
},
4142
Manifests: []string{"tests/httproute-invalid-parentref-section-name-not-matching-port.yaml"},
4243
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {

conformance/utils/suite/features.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ const (
133133

134134
// This option indicates support for HTTPRoute backendRequest timeouts (extended conformance).
135135
SupportHTTPRouteBackendTimeout SupportedFeature = "HTTPRouteBackendTimeout"
136+
137+
// This option indicates support for HTTPRoute parentRef port (extended conformance).
138+
SupportHTTPRouteParentRefPort SupportedFeature = "HTTPRouteParentRefPort"
136139
)
137140

138141
// HTTPRouteExtendedFeatures includes all the supported features for HTTPRoute
@@ -151,6 +154,7 @@ var HTTPRouteExtendedFeatures = sets.New(
151154
SupportHTTPRouteRequestMultipleMirrors,
152155
SupportHTTPRouteRequestTimeout,
153156
SupportHTTPRouteBackendTimeout,
157+
SupportHTTPRouteParentRefPort,
154158
)
155159

156160
// -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)