-
Notifications
You must be signed in to change notification settings - Fork 538
Add a conformance test that checks adding and removing listeners #1827
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
Add a conformance test that checks adding and removing listeners #1827
Conversation
Hi @mmamczur. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
68318e1
to
a69d9e4
Compare
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.
Looking good! thanks for working on this.
I have a few minor comments.
// Sanity check | ||
kubernetes.GatewayMustHaveLatestConditions(t, original) | ||
|
||
all := v1beta1.NamespacesFromAll |
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.
comment-only: In the future with kubernetes/utils#269, this kind of thing will start being much easier without clutter. But that is neither here nor there 🤷
a69d9e4
to
acbf79e
Compare
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.
Looking good thank you.
These conformance tests often end up needing a couple people with different implementations to check them over to tease everything out, I'm approving but I'll leave the lgtm
for someone else 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mmamczur, shaneutt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
acbf79e
to
39d2885
Compare
/retest fixed imports formatting |
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.
Thanks @mmamczur! This mostly LGTM, would appreciate some reviews from other implementers as well before merging though.
39d2885
to
bf8543b
Compare
Limiting the listener ports to '80' and '443' is pretty reductive. This feature should support arbitrary port numbers. |
I think that's a separate discussion. I'm not opposed to tests that cover different/arbitrary ports, but I think that should be the explicit purpose of those tests. It's possible that an implementation may support adding listeners but not the full set of possible ports, I'd like to ensure those two concepts are disconnected in test results. |
Thanks @mmamczur! /lgtm |
The intent of the issue was to support arbitrary ports/listeners because there are implementations that only listen on port 80 and 443. From: #1586 (comment)
|
Sorry, the arbitrary ports detail wasn't clear to me from the issue this PR fixes. I've filed #1842 as a follow up, let me know if I missed anything. |
What type of PR is this?
/kind test
/area conformance
What this PR does / why we need it:
Adds a conformance test that tests adding and removing listeners.
#1607
Which issue(s) this PR fixes:
Fixes #1607
Does this PR introduce a user-facing change?: