From bef32e336f93403a49dbb25fcd54ffe357ac2c78 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 30 Mar 2023 17:56:20 +0200 Subject: [PATCH] doc: test: comment on name_filter --- test_runner/regress/test_disk_usage_eviction.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_runner/regress/test_disk_usage_eviction.py b/test_runner/regress/test_disk_usage_eviction.py index 7272264dac..94f39774a9 100644 --- a/test_runner/regress/test_disk_usage_eviction.py +++ b/test_runner/regress/test_disk_usage_eviction.py @@ -493,6 +493,8 @@ def test_statvfs_pressure_usage(eviction_env: EvictionEnv): "type": "Success", "blocksize": blocksize, "total_blocks": total_blocks, + # Only count layer files towards used bytes in the mock_statvfs. + # This avoids accounting for metadata files & tenant conf in the tests. "name_filter": ".*__.*", }, ) @@ -531,6 +533,8 @@ def test_statvfs_pressure_min_avail_bytes(eviction_env: EvictionEnv): "type": "Success", "blocksize": blocksize, "total_blocks": total_blocks, + # Only count layer files towards used bytes in the mock_statvfs. + # This avoids accounting for metadata files & tenant conf in the tests. "name_filter": ".*__.*", }, )