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

Fix tests for metrics #213

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Fix tests for metrics #213

merged 2 commits into from
Mar 18, 2024

Conversation

ocelot335
Copy link
Contributor

It seems to me that the unit tests for the metrics were written incorrectly. When writing grep "smth" the utility looks for occurrences of exactly "smth", so if, for example, the metric returns 0.5, then grep "0" will consider that this is correct. This situation happened with ahf and sahf. This is not critical, it seems that all the metrics are working correctly, but it is better that the tests are correct.

@yegor256
Copy link
Owner

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Mar 18, 2024

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 02c1592 into yegor256:master Mar 18, 2024
5 checks passed
@rultor
Copy link
Collaborator

rultor commented Mar 18, 2024

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 14min)

@ocelot335 ocelot335 deleted the fix-tests branch March 18, 2024 12:05
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

3 participants