Skip to content

Commit

Permalink
Merge pull request #4279 from vespa-engine/toregge/handle-no-directio…
Browse files Browse the repository at this point in the history
…-padding-in-stats

Handle no directio padding in stats for cached disk io.
  • Loading branch information
toregge authored Nov 18, 2024
2 parents efcd53c + 7793f59 commit 085df41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/search/metrics/metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def assert_document_db_cached_disk_io(metrics, expect_cached)
posting_list_cache_hit_rate = get_postinglist_cache_hit_rate(metrics)
puts "posting_list_cache_hit_rate = " + posting_list_cache_hit_rate.to_s
if expect_cached
assert(1000 < f1_cached_disk_io["sum"])
assert(10 < f1_cached_disk_io["sum"])
assert(0 < f1_cached_disk_io["count"])
assert(0 < posting_list_cache_hit_rate)
else
Expand Down

0 comments on commit 085df41

Please sign in to comment.