From a85070e957e4d6b00dcdd838ccffd443e5fa8e9e Mon Sep 17 00:00:00 2001 From: Dmitriy Zayakin Date: Mon, 15 Apr 2024 12:35:33 +0300 Subject: [PATCH] [#206] Change epoch in func set status node, to 2 Signed-off-by: Dmitriy Zayakin --- .../storage/controllers/cluster_state_controller.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/frostfs_testlib/storage/controllers/cluster_state_controller.py b/src/frostfs_testlib/storage/controllers/cluster_state_controller.py index 03648f5..4003dfd 100644 --- a/src/frostfs_testlib/storage/controllers/cluster_state_controller.py +++ b/src/frostfs_testlib/storage/controllers/cluster_state_controller.py @@ -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)