mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-17 21:25:50 +02:00
- Fix stat_values.tdir test to have less test failures.
This commit is contained in:
@@ -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
|
||||
|
||||
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user