diff --git a/doc/Changelog b/doc/Changelog index 84f7aaea7..39936295d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,7 @@ - Fix #1492 from zacek: Data race in log_init() on key_created/log_lock when calling ub_ctx_create() concurrently from multiple threads. + - Fix stat_values.tdir test to have less test failures. 7 August 2026: Wouter - Fix #1489 from jplesnik: Replace removed Python 2 C API diff --git a/testdata/stat_values.tdir/stat_values.test b/testdata/stat_values.tdir/stat_values.test index c02bfcf19..79d272ee5 100644 --- a/testdata/stat_values.tdir/stat_values.test +++ b/testdata/stat_values.tdir/stat_values.test @@ -107,7 +107,12 @@ check_expected_stats () { # Check that the rest (unspecified) stats are all 0 (no surprises). check_rest_stats () { echo "> Checking rest stats" - grep -F -x -v -f $EXPECTED_STATS_FILE $FILTERED_STATS_FILE > $REST_STATS_FILE + grep -F -x -v -f $EXPECTED_STATS_FILE $FILTERED_STATS_FILE | \ + grep -F -v -e "msg.cache.max_collisions" \ + -e "rrset.cache.max_collisions" | \ + > $REST_STATS_FILE + # It filtered out the 'max_collisions', since at random, a msg + # or rrset cache entry could have a cache hash collision. */ if test $DEBUG -ne 0; then echo "Rest:" cat $REST_STATS_FILE