-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rm EnableAllSupportedFeatures & add AllGatewayFeatures #1907
Conversation
* With kubernetes-sigs#1878 the existing flag `EnableAllSupportedFeatures` used in implementations to run conformance tests pertaining to all Gateway/Ingress features will now also run Mesh conformance tests which might not be the intent. * rm `EnableAllSupportedFeatures` and ask Ingress implementations to set `SupportedFeatures` to `AllGatewayFeatures` to achieve the same intent as before. Mesh implementations that also support Gateway features can set `SupportedFeatures` to `AllFeatures`. Signed-off-by: Arko Dasgupta <arko@tetrate.io>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: arkodg The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ptal @shaneutt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think theres anything correlating the passed in string AllGatewayFeatures
or AllFeatures
to the right list of tests when using go test ./conformance -supported-features=...
? Looks good when using your own suite but when using go test
on the suite from this repo it only runs the tests from StandardCoreFeatures
looks like some parse logic exists here
|
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
I tried it out and only StandardCoreFeatures tests are run, everything else is skipped
|
thanks for pointing this out. If support for the |
This is specific to the added new features. This PR adds two new feature "sets" that can be used when you're writing your own suite, but the new feature names are not actually respected when using gateway-api/conformance/utils/suite/suite.go Lines 89 to 95 in 228104a
|
seeing this issue on
|
right, the |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I don't mean to put a damper on this PR, but since this isn't making it into v0.7.0
anyway, and it's looking likely that v0.8.0
will actually just get collided into v1.0.0
where we will have conformance profiles which enable subscribing to large groups of tests maybe we can pass on this one for now? Or is there some really strong need I'm misunderstanding?
/hold
closing since its not needed but a good to have |
EnableAllSupportedFeatures
used in implementations to run conformance tests pertaining to all Gateway/Ingress features will now also run Mesh conformance tests which might not be the intent.EnableAllSupportedFeatures
and ask Ingress implementations to setSupportedFeatures
toAllGatewayFeatures
to achieve the same intent as before. Mesh implementations that also support Gateway features can setSupportedFeatures
toAllFeatures
.What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: