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
Bug 1826996: Adds DNS Forwarding e2e Test #168
Conversation
test/e2e/operator_test.go
Outdated
} | ||
|
||
// Create the client Pod. | ||
testClient := clientPod("test-client", "default", "openshift/origin-cli:latest", []string{"sleep", "3600"}) |
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.
Is it possible to discover the client image that's part of the payload under test?
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.
Hmm... @ironcladlou is there a resource I can query to get the client image tag?
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.
@ironcladlou I'm now discovering the openshift-cli image through the clusteroperator/dns resource here.
3802325
to
fcfd1e3
Compare
/test e2e-aws-operator |
/retitle Bug 1826996: Adds DNS Forwarding e2e Test |
@danehans: This pull request references Bugzilla bug 1826996, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In 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/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.
I have a lot of suggestions, but they are all pretty minor to trivial. I would be already with lgtm'ing this as-is.
test/e2e/operator_test.go
Outdated
{ | ||
Name: "dns", | ||
ContainerPort: int32(5353), | ||
Protocol: corev1.Protocol("UDP"), |
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.
Why not use corev1.ProtocolUDP
here (and corev1.ProtocolTCP
below)?
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 am using corev1.ProtocolUDP
and corev1.ProtocolTCP
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 mean, why not change corev1.Protocol("UDP")
to corev1.ProtocolUDP
? It isn't too important, but you might as well use the named value instead of casting a string.
lgtm, @Miciah want to tag if you're okay given your existing feedback? |
57e06d1
to
d039c22
Compare
/test e2e-aws-upgrade |
/lgtm |
/test images |
/test images |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danehans, Miciah 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 |
/hold cancel |
@danehans: All pull requests linked via external trackers have merged: openshift/cluster-dns-operator#168. Bugzilla bug 1826996 has been moved to the MODIFIED state. In 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/test-infra repository. |
Adds an end-to-end test for the DNS Forwarding feature.
In support of NE-257
/assign @ironcladlou @knobunc
/cc @Miciah @frobware