forked from TrueCloudLab/frostfs-testlib
[#206] Change epoch in func set status node, to 2
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
parent
82a8f9bab3
commit
a85070e957
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue