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

Flaky: TestGameServerPassthroughPort #863

Conversation

markmandel
Copy link
Member

TestGameServerPassthroughPort exposed a pretty nasty race condition in the sdk sidecar server, in which a request for GameServer information could come in just before it had cached its details, resulting in a
"Not found" response.

This uses a WaitGroup to requests for GameServer information until such time as it is initially loaded.

@markmandel markmandel added kind/bug These are bugs. area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Jul 2, 2019
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 4017335e-d2dd-4662-b51c-5df732a442f5

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

TestGameServerPassthroughPort exposed a pretty nasty race condition in
the sdk sidecar server, in which a request for GameServer information
could come in just before it had cached its details, resulting in a
"Not found" response.

This uses a WaitGroup to requests for GameServer information
until such time as it is initially loaded.
@markmandel markmandel force-pushed the flaky/TestGameServerPassthroughPort branch from b76f7c8 to a07843a Compare July 3, 2019 00:14
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 30072d38-3134-46d7-8b37-870c225891fa

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/863/head:pr_863 && git checkout pr_863
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.12.0-a07843a

@@ -70,6 +70,7 @@ var (

// SDKServer is a gRPC server, that is meant to be a sidecar
// for a GameServer that will update the game server status on SDK requests
// nolint: maligned
Copy link
Collaborator

Choose a reason for hiding this comment

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

hehe

Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@markmandel markmandel added this to the 0.12.0 milestone Jul 4, 2019
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 4740c516-ffef-4413-b7fc-db7774da834a

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/863/head:pr_863 && git checkout pr_863
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.12.0-aa11f0e

@markmandel markmandel merged commit 615ab72 into googleforgames:master Jul 4, 2019
@markmandel markmandel deleted the flaky/TestGameServerPassthroughPort branch July 4, 2019 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/bug These are bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants