doc: test: comment on name_filter

This commit is contained in:
Christian Schwarz
2023-03-30 17:56:20 +02:00
parent 6f63705a6d
commit bef32e336f

View File

@@ -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": ".*__.*",
},
)