-
Notifications
You must be signed in to change notification settings - Fork 819
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
Fix for flaky e2e: TestUnhealthyGameServersWithoutFreePorts #1480
Fix for flaky e2e: TestUnhealthyGameServersWithoutFreePorts #1480
Conversation
Build Succeeded 👏 Build Id: 1eb36415-6be4-419c-a29f-d972a63b644a The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
assert.Nil(t, err) | ||
for _, n := range nodes.Items { | ||
// using only gameserver node pool with no taints | ||
if len(n.Spec.Taints) == 0 { |
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.
ooooooooh! That makes sense. 🤦
assert.True(t, len(nodes.Items) > 0) | ||
|
||
gs := framework.DefaultGameServer(defaultNs) | ||
gs.Spec.Ports[0].HostPort = 7515 | ||
// choose port out of the minport/maxport range | ||
gs.Spec.Ports[0].HostPort = 5555 |
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.
Also smart, no collisions.
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.
Added description of the root cause in original ticket. #1376 (comment)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akremsa, markmandel 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 |
New changes are detected. LGTM label has been removed. |
Build Succeeded 👏 Build Id: 9839e108-3600-460c-97b1-ee6fa0575847 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Co-authored-by: Mark Mandel <markmandel@google.com>
Closes #1376