Skip to content

Commit

Permalink
tests: extend low allow list in test_storcon_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Apr 4, 2024
1 parent 9d754e9 commit 0c63bac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test_runner/regress/test_sharding_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,10 @@ def storcon_cli(args):
assert len(tenant_lines) == 5
assert str(env.initial_tenant) in tenant_lines[3]

env.storage_controller.allowed_errors.append(".*Scheduling is disabled by policy.*")
# Setting scheduling policies intentionally result in warnings, they're for rare use.
env.storage_controller.allowed_errors.extend(
[".*Skipping reconcile for policy.*", ".*Scheduling is disabled by policy.*"]
)

# Describe a tenant
tenant_lines = storcon_cli(["tenant-describe", "--tenant-id", str(env.initial_tenant)])
Expand Down

0 comments on commit 0c63bac

Please sign in to comment.