Add waiting for epoch align for storage group lifetime test

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2023-01-16 13:48:17 +03:00 committed by abereziny
parent c6ebe1d67d
commit baf0b4dd0f
4 changed files with 11 additions and 7 deletions

View file

@ -34,9 +34,9 @@ def ensure_fresh_epoch(
return epoch
@allure.step("Align epochs for the whole cluster")
@allure.step("Wait for epochs align in whole cluster")
@wait_for_success(60, 5)
def align_epochs(shell: Shell, cluster: Cluster) -> bool:
def wait_for_epochs_align(shell: Shell, cluster: Cluster) -> bool:
epochs = []
for node in cluster.storage_nodes:
epochs.append(get_epoch(shell, cluster, node))