diff --git a/test_runner/fixtures/pageserver/utils.py b/test_runner/fixtures/pageserver/utils.py index 58a27e6f75d9..7d1c4303f7b9 100644 --- a/test_runner/fixtures/pageserver/utils.py +++ b/test_runner/fixtures/pageserver/utils.py @@ -238,7 +238,7 @@ def timeline_delete_wait_completed( def assert_prefix_empty( neon_env_builder: "NeonEnvBuilder", prefix: Optional[str] = None, - allowed_postfixes: Optional[list[str]] = None, + allowed_postfix: Optional[str] = None, ): response = list_prefix(neon_env_builder, prefix) keys = response["KeyCount"] @@ -267,7 +267,7 @@ def assert_prefix_empty( filtered_count = 0 for key, _obj in objects: - if allowed_postfixes is None or not (allowed_postfixes.endswith(key)): + if allowed_postfix is None or not (allowed_postfix.endswith(key)): filtered_count += 1 assert ( diff --git a/test_runner/regress/test_tenant_delete.py b/test_runner/regress/test_tenant_delete.py index f483f8c35775..9bafa60d184e 100644 --- a/test_runner/regress/test_tenant_delete.py +++ b/test_runner/regress/test_tenant_delete.py @@ -286,7 +286,7 @@ def test_delete_tenant_exercise_crash_safety_failpoints( str(tenant_id), ) ), - allowed_postfixes=["initdb.tar.zst"], + allowed_postfix="initdb.tar.zst", )