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

Adds GameServerAllocation e2e tests for Counters #3400

Merged
merged 7 commits into from
Oct 11, 2023

Conversation

igooch
Copy link
Collaborator

@igooch igooch commented Sep 25, 2023

What type of PR is this?

/kind feature

What this PR does / Why we need it:

  • Adds GameServerAllocation filtering e2e test for Counters
  • Adds GameServerAllocation sorting e2e test for Counters
  • Adds GameServerAllocation CounterActions e2e test for Counters
  • Updates Fleet and GameServer e2e tests to delete the fleet after test run
  • Adds Counters to GameServerAllocation example
  • Changes GameServer UpdateCount logic to truncate requests rather than a no-op for increment or decrement requests that go above capacity or below zero
  • Changes UpdateCounterCapacity in gameserver.go to update Count to equal Capacity when Capacity is set to a value less than Count

Which issue(s) this PR fixes:

Working on #2716

Special notes for your reviewer:

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 29f8e288-b08b-4d50-b50f-9212e6b900a5

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/googleforgames/agones.git pull/3400/head:pr_3400 && git checkout pr_3400
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.35.0-dev-667db26-amd64

@google-oss-prow google-oss-prow bot added size/XL and removed size/M labels Sep 28, 2023
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 0b3ae335-76e7-438b-a7f4-686b26da7f4c

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 2a401516-8290-4c5c-8735-ec1cef6399b0

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: dce14fbb-85c8-4dc4-bcd7-8454f2886638

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 4563a346-316b-4b41-9cc1-ad747fc29bd2

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch 2 times, most recently from 3612882 to 8a9a88c Compare October 2, 2023 16:30
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 9a95ff43-acaa-472c-aba4-7083294349af

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 486fd08f-8360-4e79-84ec-3e195ef562f2

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch 2 times, most recently from 8e17c86 to ac7a600 Compare October 2, 2023 20:55
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 82902c1f-013a-49b2-b040-278421f0108c

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/googleforgames/agones.git pull/3400/head:pr_3400 && git checkout pr_3400
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.36.0-dev-ac7a600-amd64

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: d1ae921d-c5bd-4995-b60a-4cdaefb440f3

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch from 92f2556 to 0fd81fe Compare October 3, 2023 00:56
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 6d5effdb-67a2-4bef-8753-1c8e57e10fd9

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch from 0fd81fe to 9d5e269 Compare October 3, 2023 01:23
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: b1492264-a001-49a0-a863-6cab76ff5625

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch from 9d5e269 to 9e130d9 Compare October 3, 2023 15:56
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 8102f40a-0b7a-4abb-9c83-24067355771f

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

Updates Fleet and GameServer e2e tests to delete the fleet after test run Adds Counters to GameServerAllocation example
Now truncates for request that take the Counter below zero or beyond Capacity instead of rejecting the increment or decrement request
Fixes issue where e2e tests was returnting game servers from different fleets
@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch from f72514e to a5c86d3 Compare October 9, 2023 18:53
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: d8571905-2d86-49b5-a751-bc39620c78b5

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 1189229a-fb68-4a7b-8090-fad510d92f2a

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@igooch igooch force-pushed the arbitrary-counts-lists-2716 branch from 523c724 to b312b04 Compare October 9, 2023 22:07
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d8af55f2-dc25-447a-875a-59118289238d

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/googleforgames/agones.git pull/3400/head:pr_3400 && git checkout pr_3400
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.36.0-dev-b312b04-amd64

@markmandel
Copy link
Member

🙌🏻 lemme know when you would like a review 👍🏻

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: igooch, 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

@markmandel
Copy link
Member

Looks great!

@markmandel markmandel merged commit e0f859a into googleforgames:main Oct 11, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants