-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
text/extended: Check both IP and Hostname on LB #22872
text/extended: Check both IP and Hostname on LB #22872
Conversation
Some platforms may set an IP address and not set a host name on LoadBalancer services, so check both fields. * test/extended/router/router.go (waitForNamedRouterServiceIP): Check both IP and Hostname. Delete check for the service name that was used in v3.
* test/extended/router/headers.go: * test/extended/router/metrics.go: * test/extended/router/reencrypt.go: Use WaitForRouterServiceIP and WaitForRouterInternalIP from the exutil package. * test/extended/router/router.go: Move waitForRouterInternalIP, waitForRouterExternalIP, routerShouldHaveExternalService, waitForRouterServiceIP, and waitForNamedRouterServiceIP from here... * test/extended/util/router.go: ...to here. Rename waitForRouterServiceIP to WaitForRouterServiceIP and waitForRouterInternalIP to WaitForRouterInternalIP.
/test unit
/test e2e-aws Edit: First flake looks like BZ#1711563. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ironcladlou, 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
test/extended
: Move some helpers toutil/router.go
test/extended/router/headers.go
:test/extended/router/metrics.go
:test/extended/router/reencrypt.go
: UseWaitForRouterServiceIP
andWaitForRouterInternalIP
from theexutil
package.test/extended/router/router.go
: MovewaitForRouterInternalIP
,waitForRouterExternalIP
,routerShouldHaveExternalService
,waitForRouterServiceIP
, andwaitForNamedRouterServiceIP
from here...test/extended/util/router.go
: ...to here. RenamewaitForRouterServiceIP
toWaitForRouterServiceIP
andwaitForRouterInternalIP
toWaitForRouterInternalIP
.text/extended
: Check bothIP
andHostname
on LBSome platforms may set an IP address and not set a host name on LoadBalancer services, so check both fields.
test/extended/router/router.go
(waitForNamedRouterServiceIP
): Check bothIP
andHostname
. Delete check for the service name that was used in v3.