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

Small typo in test #1526

Merged
merged 2 commits into from
May 8, 2020
Merged

Conversation

aLekSer
Copy link
Collaborator

@aLekSer aLekSer commented May 7, 2020

Cleanup the func name.

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug

/kind cleanup

/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Closes #

Special notes for your reviewer:

@@ -1253,7 +1253,7 @@ func TestGameServerPod_ContainerNotFound_ErrReturned(t *testing.T) {

}

func TestGameServerPod_WithSidecar_NoErrros(t *testing.T) {
func TestGameServerPod_WithSidecar_NoErrors(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Somehow this slipped in, and I missed it - can we get rid of the _, while we are in here please :D

It's not to Go naming conventions.

Copy link
Collaborator Author

@aLekSer aLekSer May 8, 2020

Choose a reason for hiding this comment

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

By the way underscore is fine for Example functions in tests, probably that's why golint did not show an error:
https://golang.org/pkg/testing/#hdr-Examples
But I was expecting that this name would generate a linter error. More context:
golang/lint#5

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: dd832000-daef-43d1-b0bf-85cfeceb182e

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

@markmandel
Copy link
Member

Been seeing this a bit today: Flakiness.

Step 13/21 : RUN curl -L  ${HELM_URL} > /tmp/helm.tar.gz     && tar -zxvf /tmp/helm.tar.gz -C /tmp     && mv /tmp/linux-amd64/helm /usr/local/bin/helm     && chmod go+rx /usr/local/bin/helm     && rm /tmp/helm.tar.gz && rm -rf /tmp/linux-amd64
 ---> Running in 4416a5fa460b
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

curl: (56) GnuTLS recv error (-54): Error in the pull function.
The command '/bin/sh -c curl -L  ${HELM_URL} > /tmp/helm.tar.gz     && tar -zxvf /tmp/helm.tar.gz -C /tmp     && mv /tmp/linux-amd64/helm /usr/local/bin/helm     && chmod go+rx /usr/local/bin/helm     && rm /tmp/helm.tar.gz && rm -rf /tmp/linux-amd64' returned a non-zero code: 56

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 6ce8f51a-d6e1-4092-8996-efa97e745a2f

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/1526/head:pr_1526 && git checkout pr_1526
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-2a1bad6

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d1e91e98-85f2-443c-9b89-e1e75737de8f

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/1526/head:pr_1526 && git checkout pr_1526
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-740a9a0

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Yay

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aLekSer, 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: 286fba28-fe3a-41d9-ab4b-d5b4752d97d6

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/1526/head:pr_1526 && git checkout pr_1526
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-a9d0eba

@markmandel markmandel merged commit 174f49e into googleforgames:master May 8, 2020
@markmandel markmandel added area/tests Unit tests, e2e tests, anything to make sure things don't break kind/cleanup Refactoring code, fixing up documentation, etc labels May 8, 2020
@markmandel markmandel added this to the 1.6.0 milestone May 19, 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/cleanup Refactoring code, fixing up documentation, etc size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants