Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: allow list breaching min resident size in statvfs test (#8358)
## Problem This test would sometimes violate the min resident size during disk eviction and fail due to the generate warning log. Disk usage candidate collection only takes into account active tenants. However, the statvfs call takes into account the entire tenants directory, which includes tenants which haven't become active yet. After re-starting the pageserver, disk usage eviction may kick in *before* both tenants have become active. Hence, the logic will try to satisfy thedisk usage requirements by evicting everything belonging to the active tenant, and hence violating the tenant minimum resident size. ## Summary of changes Allow the warning
- Loading branch information
b329b1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3141 tests run: 3011 passed, 3 failed, 127 skipped (full report)
Failures on Postgres 14
test_storage_controller_many_tenants[github-actions-selfhosted]
: releasetest_basebackup_with_high_slru_count[github-actions-selfhosted-sequential-10-13-30]
: releasetest_basebackup_with_high_slru_count[github-actions-selfhosted-vectored-10-13-30]
: releaseFlaky tests (2)
Postgres 16
test_peer_recovery
: releasePostgres 14
test_tenant_creation_fails
: debugCode coverage* (full report)
functions
:32.7% (6982 of 21338 functions)
lines
:50.1% (54984 of 109719 lines)
* collected from Rust tests only
b329b1c at 2024-07-12T17:57:53.450Z :recycle: