Skip to content

Commit

Permalink
tests: use 3 AZs in test_storage_controller_node_deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Jan 16, 2025
1 parent fe9887b commit 08fc7cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_runner/regress/test_storage_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -2394,6 +2394,7 @@ def test_storage_controller_node_deletion(
Test that deleting a node works & properly reschedules everything that was on the node.
"""
neon_env_builder.num_pageservers = 3
neon_env_builder.num_azs = 3
env = neon_env_builder.init_configs()
env.start()

Expand All @@ -2407,6 +2408,9 @@ def test_storage_controller_node_deletion(
tid, placement_policy='{"Attached":1}', shard_count=shard_count_per_tenant
)

# Sanity check: initial creations should not leave the system in an unstable scheduling state
assert env.storage_controller.reconcile_all() == 0

victim = env.pageservers[-1]

# The procedure a human would follow is:
Expand Down

0 comments on commit 08fc7cb

Please sign in to comment.