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
[e2e] use random node to avoid node0 overloaded #99390
Conversation
@pacoxu: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/sig network storage testing |
44fa60f
to
7362ad8
Compare
/cc @msau42 |
if len(ips) == 0 { | ||
framework.Failf("Failed to get NodeIP") | ||
} | ||
hostIP := ips[0] | ||
port := int32(54321) | ||
port := int32(54323) |
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.
How come the port changed?
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 find https://github.com/kubernetes/kubernetes/blob/master/test/e2e/scheduling/predicates.go#L675 is using 54321 as well. I'm not sure whether they will be running in parallel one day?
So I change it here.
7362ad8
to
3c7be92
Compare
3c7be92
to
9488dec
Compare
/retest |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msau42, pacoxu 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 |
What type of PR is this?
/kind flake
/kind cleanup
What this PR does / why we need it:
https://github.com/kubernetes/kubernetes/pull/99261/files#r580645993
@msau42 I open this PR to use random node in e2e test
Which issue(s) this PR fixes:
No
Some flake cases may be related. But this does not fix them directly.
I may help in some case that node0 is overloaded and timeout some cases.
Special notes for your reviewer:
Does this PR introduce a user-facing change?