[#343] Fixed test logs metrics #343
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-testcases#343
Loading…
Reference in a new issue
No description provided.
Delete branch "i.niyazov/frostfs-testcases:fixed-test-logs-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Commits # becomes 2. Need to make 1 commit
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)
3836a291c4
to5098e4021a
New commits pushed, approval review dismissed automatically according to repository settings
5098e4021a
to22c6e9da35