Skip to content
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

Conversation

akremsa
Copy link
Contributor

@akremsa akremsa commented Apr 17, 2020

Closes #1376

@agones-bot
Copy link
Collaborator

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:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1480/head:pr_1480 && git checkout pr_1480
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-040ba44

@roberthbailey roberthbailey requested review from markmandel and removed request for roberthbailey and dzlier-gcp April 17, 2020 18:17
@markmandel markmandel added area/tests Unit tests, e2e tests, anything to make sure things don't break kind/bug These are bugs. labels Apr 17, 2020
assert.Nil(t, err)
for _, n := range nodes.Items {
// using only gameserver node pool with no taints
if len(n.Spec.Taints) == 0 {
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also smart, no collisions.

Copy link
Collaborator

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)

@google-oss-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

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:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1480/head:pr_1480 && git checkout pr_1480
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-8c6f666

@markmandel markmandel merged commit b596375 into googleforgames:master Apr 17, 2020
@markmandel markmandel added this to the 1.6.0 milestone Apr 17, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
Co-authored-by: Mark Mandel <markmandel@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/tests Unit tests, e2e tests, anything to make sure things don't break kind/bug These are bugs. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky: TestUnhealthyGameServersWithoutFreePorts
6 participants