-
Notifications
You must be signed in to change notification settings - Fork 222
OCPBUGS-43033: e2e/ingress_dns: support both private & public #1153
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
Conversation
|
@EmilienM: This pull request references Jira Issue OCPBUGS-43033, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@EmilienM: This pull request references Jira Issue OCPBUGS-43033, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/assign Miciah |
|
/test e2e-azure-operator |
|
@EmilienM: This pull request references Jira Issue OCPBUGS-43033, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/test e2e-openstack-operator |
|
@EmilienM: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
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-sigs/prow repository. |
|
/test e2e-openstack-operator |
|
/test e2e-openstack-operator |
Some platforms only have public zones, some others private, some none. Let's just run zone update tests where applicable so we support all platforms and also cover more scenarios.
|
/test e2e-openstack-operator |
Miciah
left a comment
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!
/approve
/lgtm
/hold
since I made some comments, but feel free just to /hold cancel if you want to keep the PR as is.
| @@ -39,6 +40,23 @@ func TestIngressStatus(t *testing.T) { | |||
| t.Fatalf("failed to get DNS config: %v", err) | |||
| } | |||
|
|
|||
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.
You should be able to remove the Get(..., ..., &dnsConfig) above since TestMain initializes dnsConfig, but we can keep it if you prefer to keep the test logic self-contained.
For that matter, we should use kclient that TestMain also initializes, but that can be left as a follow-up clean-up.
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'll try doing it here
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'll follow-up with a PR to address both comments. That'll help me to iterate at the same time on my other PR for LB.
Thanks
| func testUpdateDNSConfig(t *testing.T, kubeClient client.Client) { | ||
| if err := kubeClient.Get(context.TODO(), types.NamespacedName{Name: "cluster"}, &dnsConfig); err != nil { |
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 would suggest adding t.Helper(), but maybe that would obfuscate that testUpdateDNSConfig really contains the test. Really, the correct thing might be for TestIngressStatus to use t.Run(..., testUpdateDNSConfig), but I don't think it really matters that much.
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'm in favor of doing it as a follow-up with your help maybe. I've tried myself and I suspect I didn't get it right.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miciah The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-hypershift |
|
/hold cancel |
|
@EmilienM: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
@EmilienM: Jira Issue OCPBUGS-43033: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-43033 has been moved to the MODIFIED state. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-ingress-operator |
Some platforms only have public zones, some others private, some none.
Let's just run zone update tests where applicable so we support
all platforms and also cover more scenarios.