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

Update newHistogram of testmetrics Provider #208

Merged
merged 7 commits into from May 9, 2024

Conversation

Vamsi-Mundra
Copy link
Contributor

@Vamsi-Mundra Vamsi-Mundra commented May 7, 2024

Reason For the Change:

While using testmetrics provider in the testcases, we observed CheckObservation is failing when we don't add anything inside the Histogram.

When we are sending an empty float64 list: empty := float64[] to CheckObservation, it was failing .

The reason is, we are not initializing observations in the newHistogram function of the testmetrics provider.

Changes:

Initializing the observations of Histogram in newHistogram function.

@ypaq

This comment was marked as outdated.

@Vamsi-Mundra
Copy link
Contributor Author

Sure Thanks! @ypaq

@Vamsi-Mundra Vamsi-Mundra changed the title Update CheckObservation of test metrics provider Update newHistogram of testmetrics Provider May 7, 2024
@Vamsi-Mundra Vamsi-Mundra merged commit fbe90c5 into master May 9, 2024
3 checks passed
@Vamsi-Mundra Vamsi-Mundra deleted the vmc-update-testmetrics branch May 9, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants