Skip to content

Commit

Permalink
tests: extend allow list in deletion test
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Jul 4, 2024
1 parent 97f7188 commit eed4938
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test_runner/regress/test_tenant_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ def test_tenant_delete_smoke(

# first try to delete non existing tenant
tenant_id = TenantId.generate()
env.pageserver.allowed_errors.append(".*NotFound.*")
env.pageserver.allowed_errors.append(".*simulated failure.*")
env.pageserver.allowed_errors.extend(
[".*NotFound.*", ".*simulated failure.*", ".*failed to delete .+ objects.*"]
)

# Check that deleting a non-existent tenant gives the expected result: this is a loop because we
# may need to retry on some remote storage errors injected by the test harness
Expand Down

0 comments on commit eed4938

Please sign in to comment.