From 7793f59be224c00b6d964f53859c58b96086aa2b Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Mon, 18 Nov 2024 20:35:20 +0100 Subject: [PATCH] Handle no directio padding in stats for cached disk io. --- tests/search/metrics/metrics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/search/metrics/metrics.rb b/tests/search/metrics/metrics.rb index dbfad4846..0c9d2916e 100644 --- a/tests/search/metrics/metrics.rb +++ b/tests/search/metrics/metrics.rb @@ -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