[#343] Fixed test logs metrics #343

Merged
i.niyazov merged 1 commit from i.niyazov/frostfs-testcases:fixed-test-logs-metrics into master 2024-12-17 14:21:41 +00:00
Member

Signed-off-by: Ilyas Niyazov i.niyazov@yadro.com

Used function are_numbers_similar for match count of logs, because in BareMetal logs are written very quickly

Signed-off-by: Ilyas Niyazov i.niyazov@yadro.com Used function are_numbers_similar for match count of logs, because in BareMetal logs are written very quickly
i.niyazov added 1 commit 2024-12-16 18:59:55 +00:00
[#343] Fixed test logs metrics
All checks were successful
DCO check / DCO (pull_request) Successful in 1m50s
8a1fbca2ef
Signed-off-by: Ilyas Niyazov <i.niyazov@yadro.com>
i.niyazov requested review from d.zayakin 2024-12-16 18:59:55 +00:00
i.niyazov requested review from anikeev-yadro 2024-12-16 18:59:55 +00:00
i.niyazov requested review from anurindm 2024-12-16 18:59:55 +00:00
i.niyazov requested review from ylukoyan 2024-12-16 18:59:55 +00:00
i.niyazov requested review from JuliaKovshova 2024-12-16 18:59:55 +00:00
i.niyazov requested review from abereziny 2024-12-16 18:59:55 +00:00
i.niyazov added 1 commit 2024-12-17 09:33:17 +00:00
Merge branch 'master' into fixed-test-logs-metrics
Some checks failed
DCO check / DCO (pull_request) Failing after 1m48s
3836a291c4
Member

Commits # becomes 2. Need to make 1 commit

Commits # becomes 2. Need to make 1 commit
abereziny approved these changes 2024-12-17 10:57:00 +00:00
Dismissed
Member
Also, can this help? https://docs.pytest.org/en/latest/reference/reference.html#pytest.approx
Author
Member

Also, can this help? https://docs.pytest.org/en/latest/reference/reference.html#pytest.approx

yes, it's the same

We can check tolerance_percentage with parameter relative_tolerance
f.e. assert counter_logs == approx(counter_metrics, rel=0.02)

> Also, can this help? https://docs.pytest.org/en/latest/reference/reference.html#pytest.approx yes, it's the same We can check tolerance_percentage with parameter relative_tolerance f.e. ` assert counter_logs == approx(counter_metrics, rel=0.02)`
i.niyazov force-pushed fixed-test-logs-metrics from 3836a291c4 to 5098e4021a 2024-12-17 11:53:52 +00:00 Compare
i.niyazov dismissed abereziny's review 2024-12-17 11:53:52 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

i.niyazov force-pushed fixed-test-logs-metrics from 5098e4021a to 22c6e9da35 2024-12-17 12:11:55 +00:00 Compare
d.zayakin approved these changes 2024-12-17 12:16:42 +00:00
abereziny approved these changes 2024-12-17 12:41:30 +00:00
i.niyazov removed review request for anikeev-yadro 2024-12-17 14:21:13 +00:00
i.niyazov removed review request for anurindm 2024-12-17 14:21:15 +00:00
i.niyazov removed review request for ylukoyan 2024-12-17 14:21:17 +00:00
i.niyazov removed review request for JuliaKovshova 2024-12-17 14:21:19 +00:00
i.niyazov merged commit 177ef36693 into master 2024-12-17 14:21:41 +00:00
i.niyazov deleted branch fixed-test-logs-metrics 2024-12-17 14:21:42 +00:00
i.niyazov referenced this pull request from a commit 2024-12-17 14:21:43 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testcases#343
No description provided.