From 964030f30e2b262d9c19d808c9c4f0a768b9ffe3 Mon Sep 17 00:00:00 2001 From: Vlad Lazar Date: Thu, 20 Jun 2024 12:19:42 +0100 Subject: [PATCH] test: assert before restarts --- test_runner/performance/test_storage_controller_scale.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_runner/performance/test_storage_controller_scale.py b/test_runner/performance/test_storage_controller_scale.py index ef72755a56..e10449600c 100644 --- a/test_runner/performance/test_storage_controller_scale.py +++ b/test_runner/performance/test_storage_controller_scale.py @@ -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(