forked from TrueCloudLab/frostfs-testcases
Add waiting for epoch align for storage group lifetime test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
c6ebe1d67d
commit
baf0b4dd0f
4 changed files with 11 additions and 7 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue