-
Notifications
You must be signed in to change notification settings - Fork 240
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
Adding mocks for cloudidentity membership API #3486
Adding mocks for cloudidentity membership API #3486
Conversation
@@ -25,3 +33,16 @@ func ValueOf[T any](p *T) T { | |||
} | |||
return v | |||
} | |||
|
|||
func buildLRO(obj proto.Message) (*longrunning.Operation, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: we do have an operations
helper - search for operations.StartLRO
5b9d168
to
9038f77
Compare
/approve Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yuwenma 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 |
f4dd163
to
2bed312
Compare
generated using: hack/compare-mock fixtures/addexpirydatecloudidentitymembership hack/compare-mock fixtures/addrolecloudidentitymembership hack/compare-mock fixtures/removerolecloudidentitymembership
…ents tests from failing
Commands run: WRITE_GOLDEN_OUTPUT=1 ./scripts/github-actions/tests-e2e-scenarios.sh hack/compare-mock fixtures/fullcsaugkehubfeaturemembership hack/compare-mock fixtures/fullpocogkehubfeaturemembership hack/compare-mock fixtures/fullacmgkehubfeaturemembership hack/compare-mock fixtures/basicacmgkehubfeaturemembership hack/compare-mock fixtures/basicpocogkehubfeaturemembership hack/compare-mock fixtures/basiccsaugkehubfeaturemembership hack/compare-mock fixtures/acmfeature hack/compare-mock fixtures/mcifeature hack/compare-mock fixtures/gkehubmembership hack/compare-mock fixtures/meshgkehubfeaturemembership
2bed312
to
df0ea5d
Compare
WRITE_GOLDEN_OUTPUT=1 ./scripts/github-actions/tests-e2e-fixtures
/lgtm |
d3cf43e
into
GoogleCloudPlatform:master
Change description
Adding mocks for cloudidentity membership API
Tests Run
The following tests passed:
E2E_KUBE_TARGET=envtest RUN_E2E=1 E2E_GCP_TARGET=mock go test -test.count=1 -timeout 3600s -v ./tests/e2e -run TestAllInSeries/fixtures/addexpirydatecloudidentitymembership 2>&1 | tee log.cloudidentity
E2E_KUBE_TARGET=envtest RUN_E2E=1 E2E_GCP_TARGET=mock go test -test.count=1 -timeout 3600s -v ./tests/e2e -run TestAllInSeries/fixtures/addrolecloudidentitymembership 2>&1 | tee log.cloudidentity
E2E_KUBE_TARGET=envtest RUN_E2E=1 E2E_GCP_TARGET=mock go test -test.count=1 -timeout 3600s -v ./tests/e2e -run TestAllInSeries/fixtures/removerolecloudidentitymembership 2>&1 | tee log.cloudidentity