-
Notifications
You must be signed in to change notification settings - Fork 238
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: set 0 llm #3226
tests: set 0 llm #3226
Conversation
/hold want #3200 to go in first |
cd1d858
to
297aa27
Compare
/hold cancel |
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.
Thanks! Could you upload the real GCP result as well? You can run hack/record-gcp
and git-commit the output, and run hack/compare-mock
and git-commit again, and upload the 2 commits, so we can check the diff between real and mock
"valueType": "DISTRIBUTION" | ||
}, | ||
"name": "logginglogmetric-${uniqueId}", | ||
"resourceName": "projects/${projectId}/metrics/logginglogmetric-${uniqueId}", |
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.
super nit: this resourceName
seems to be missing in the MockGCP
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.
Oh good catch -- this might need to be a mock improvement change. I can explore that outside of this PR.
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.
/lgtm
/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 |
Signed-off-by: Alex Pana <[email protected]>
Signed-off-by: Alex Pana <[email protected]>
/lgtm |
Adds a scenario test for setting 0 for native types for the LoggingLogMetric.
A few call outs
Note in the future we will want tooling that can generate these tests for us and run against the direct controllers. To that end, both the filler mechanism in the random filler (#3151) and the field analysis tool (#2326) will help.