diff options
-rw-r--r-- | tests/fs/bcachefs/bcachefs-test-libs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/fs/bcachefs/bcachefs-test-libs.sh b/tests/fs/bcachefs/bcachefs-test-libs.sh index c4739e6..bb7f10b 100644 --- a/tests/fs/bcachefs/bcachefs-test-libs.sh +++ b/tests/fs/bcachefs/bcachefs-test-libs.sh @@ -208,6 +208,10 @@ check_counters() max_fail=$((max_fail * 5)) fi + if [[ $event = bucket_alloc_fail ]]; then + max_fail=$((max_fail * 5)) + fi + if (( nr > max_fail )); then echo "$dev: Too many $event: $nr (max: $max_fail)" # Insert 0 byte seperators at the beginning of each trace event, |