[#206] Change epoch in func set status node, to 2

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2024-04-15 12:35:33 +03:00
parent 82a8f9bab3
commit a85070e957

View file

@ -432,9 +432,10 @@ class ClusterStateController:
if not await_tick:
return
with reporter.step("Tick 1 epoch and await 2 block"):
frostfs_adm.morph.force_new_epoch()
time.sleep(parse_time(MORPH_BLOCK_TIME) * 2)
with reporter.step("Tick 2 epoch with 2 block await."):
for _ in range(2):
frostfs_adm.morph.force_new_epoch()
time.sleep(parse_time(MORPH_BLOCK_TIME) * 2)
self.await_node_status(status, wallet, cluster_node)