From 716a780a13102d6b87841407a01a977532ad606c Mon Sep 17 00:00:00 2001 From: anikeev-yadro Date: Thu, 27 Jul 2023 14:29:22 +0300 Subject: [PATCH] Add epoch align after tick Signed-off-by: anikeev-yadro --- src/frostfs_testlib/steps/node_management.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frostfs_testlib/steps/node_management.py b/src/frostfs_testlib/steps/node_management.py index aec9b8a..4b46b62 100644 --- a/src/frostfs_testlib/steps/node_management.py +++ b/src/frostfs_testlib/steps/node_management.py @@ -16,6 +16,7 @@ from frostfs_testlib.resources.cli import ( from frostfs_testlib.resources.common import MORPH_BLOCK_TIME from frostfs_testlib.shell import Shell from frostfs_testlib.steps.epoch import tick_epoch +from frostfs_testlib.steps.epoch import wait_for_epochs_align from frostfs_testlib.storage.cluster import Cluster, StorageNode from frostfs_testlib.storage.dataclasses.frostfs_services import S3Gate from frostfs_testlib.utils import datetime_utils @@ -189,6 +190,7 @@ def exclude_node_from_network_map( time.sleep(datetime_utils.parse_time(MORPH_BLOCK_TIME)) tick_epoch(shell, cluster) + wait_for_epochs_align(shell, cluster) snapshot = get_netmap_snapshot(node=alive_node, shell=shell) assert (