From 4035e059fcf26f2812febd5d44325d74f48587e8 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Wed, 2 Oct 2024 13:05:51 +0200 Subject: [PATCH] Widen limits even more --- tests/search/reportcoverage/reportcoverage.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/search/reportcoverage/reportcoverage.rb b/tests/search/reportcoverage/reportcoverage.rb index ea9755f93..5d0cef166 100644 --- a/tests/search/reportcoverage/reportcoverage.rb +++ b/tests/search/reportcoverage/reportcoverage.rb @@ -90,10 +90,10 @@ def test_reportcoverage assert(23450 >= result["root"]["fields"]["totalCount"]) coverage = result["root"]["coverage"] puts coverage.to_s - assert(19 <= coverage["coverage"]) + assert(18 <= coverage["coverage"]) assert(23 >= coverage["coverage"]) # This number depends on how the range search iterator (used by match-phase limiting) calculates approximation of number of hits. - assert(18500 <= coverage["documents"]) + assert(18400 <= coverage["documents"]) assert(23500 >= coverage["documents"]) assert_equal(false, coverage["full"]) assert_equal(2, coverage["nodes"])