Bug 1971590: Enable TestEndpointAdmission test only for OpenShift SDN#26223
Conversation
|
@ardaguclu: This pull request references Bugzilla bug 1971590, which is invalid:
Comment 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/test-infra repository. |
|
/retest |
|
/bugzilla refresh |
|
@ardaguclu: This pull request references Bugzilla bug 1971590, 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
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/test-infra repository. |
|
/retest |
| "cluster": "10.128.0.2", | ||
| "service": "172.30.0.2", | ||
| "external": "1.2.3.4", | ||
| var exampleServiceAddresses = map[string]string{ |
There was a problem hiding this comment.
@ardaguclu I would move this into the TestEndpointAdmission() function since it's only used there and it's confusing to have it as a global when testOne() also creates a map of the same name, but in local scope.
There was a problem hiding this comment.
In fact, why even bother with the map? Why not just assign the addresses directly since exampleServiceAddresses is only used in one place?
There was a problem hiding this comment.
Thanks for review @dcbw, I changed according to your suggestions.
42eae84 to
ea77745
Compare
|
/retest |
|
/test e2e-aws-csi |
danwinship
left a comment
There was a problem hiding this comment.
There was discussion about this test somewhere else but I don't remember where.
This is only relevant for openshift-sdn in Multitenant mode, and thus there's no need to test it under IPv6. The test should just be wrapped in InOpenShiftSDNContext() so it gets skipped for other plugins.
5e62e23 to
e993ed3
Compare
|
Thanks @danwinship, I did changes and only enable this test for OpenShift sdn is enabled cases. |
|
/retest |
|
@ardaguclu: This pull request references Bugzilla bug 1971590, which is valid. 3 validation(s) were run on this bug
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/test-infra repository. |
|
/retest |
1 similar comment
|
/retest |
| g.It("TestEndpointAdmission", func() { | ||
| TestEndpointAdmission(g.GinkgoT(), oc) | ||
| InOpenShiftSDNContext(func() { | ||
| g.It("TestEndpointAdmission", func() { |
There was a problem hiding this comment.
maybe clarify that while we're here
g.It("blocks manual creation of Endpoints pointing to the cluster or service network", func() {
e993ed3 to
7385524
Compare
|
/retest |
|
/lgtm |
|
/test e2e-gcp-upgrade |
|
/assign @knobunc |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ardaguclu, danwinship, knobunc 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 |
|
/retest |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required |
|
@ardaguclu: The following tests 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/test-infra repository. I understand the commands that are listed here. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@ardaguclu: All pull requests linked via external trackers have merged: Bugzilla bug 1971590 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 kubernetes/test-infra repository. |
|
/cherrypick release-4.8 |
|
@ardaguclu: new pull request created: #26351 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/test-infra repository. |
This PR applies only enabling TestEndpointAdmission test for OpenShift SDN