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

tests: add patch, put, int64, cap.letter tests #4636

Merged
merged 11 commits into from Aug 18, 2021

Conversation

georgiyekkert
Copy link
Contributor

tests for:
1)int 64 field - b/190201970
2)a field that starts with cap letter - b/184008102
3) put, patch

@georgiyekkert georgiyekkert requested a review from a team as a code owner August 17, 2021 20:51
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 17, 2021
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
georgiyekkert and others added 2 commits August 17, 2021 16:23
review suggestions

Co-authored-by: Noah Dietz <noahdietz@users.noreply.github.com>
Copy link
Contributor

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

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

Can you run goimports please? That's why CI failed.

go get golang.org/x/tools/cmd/goimports
cd compute/apiv1
goimports -w .

compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Show resolved Hide resolved
compute/apiv1/smoke_test.go Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
compute/apiv1/smoke_test.go Outdated Show resolved Hide resolved
go.mod Outdated
@@ -10,6 +10,7 @@ require (
github.com/googleapis/gax-go/v2 v2.0.5
go.opencensus.io v0.23.0
golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a
golang.org/x/tools v0.1.5 // indirect
Copy link
Contributor

Choose a reason for hiding this comment

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

Please revert this change. It was because of the go get I asked you to run.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

reverted

go.sum Outdated
@@ -212,6 +212,7 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
Copy link
Contributor

@noahdietz noahdietz Aug 18, 2021

Choose a reason for hiding this comment

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

Please revert these changes. It was because of the go get I asked you to run.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

reverted

}
}()

fetched, err := c.Get(ctx,
Copy link
Contributor

Choose a reason for hiding this comment

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

check the error here after this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@noahdietz noahdietz added the automerge Merge the pull request once unit tests and other checks pass. label Aug 18, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit 543e3bb into googleapis:master Aug 18, 2021
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants