From: Ondřej Surý Date: Tue, 20 Aug 2024 13:57:57 +0000 (+0000) Subject: fix: test: Allow TTL skew in the badcache print unit test X-Git-Tag: v9.21.1~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e44652a1730b11831345795b454eb527871c3bcd;p=thirdparty%2Fbind9.git fix: test: Allow TTL skew in the badcache print unit test If the machine running the job is extra loaded (or extra slow), the print test in the badcache unit test would fail because the TTL would be 59 (possibly even lower) and the test expects the badcache.out to only have TTL 60. Refactor the test to check for the expected strings and check whether the TTL is in the expected range. Closes #4861 Merge branch '4861-allow-TTL-skew-in-badcache_test' into 'main' Closes #4861 See merge request isc-projects/bind9!9338 --- e44652a1730b11831345795b454eb527871c3bcd