Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m committed Nov 29, 2023
1 parent 84d2029 commit adde9b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test_runner/fixtures/pageserver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion test_runner/regress/test_tenant_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)


Expand Down

0 comments on commit adde9b3

Please sign in to comment.