test: assert before restarts

This commit is contained in:
Vlad Lazar
2024-06-20 12:19:42 +01:00
parent e7ec5962da
commit 964030f30e

View File

@@ -301,6 +301,8 @@ def test_storage_controller_many_tenants(
shard_counts = get_consistent_node_shard_counts(env, total_shards)
log.info(f"Shard counts before rolling restart: {shard_counts}")
assert_consistent_balanced_attachments(env, total_shards)
# Restart pageservers: this exercises the /re-attach API
for ps in env.pageservers:
retryable_node_operation(