Update restore traffic method #290

Merged
d.zayakin merged 1 commit from d.zayakin/frostfs-testlib:update-restore-traffic-methods into master 2024-09-12 12:37:04 +00:00

View file

@ -325,6 +325,8 @@ class ClusterStateController:
node: ClusterNode,
) -> None:
IpHelper.restore_input_traffic_to_node(node=node)
index = self.dropped_traffic.index(node)
self.dropped_traffic.pop(index)
@reporter.step("Restore blocked nodes")
def restore_all_traffic(self):
@ -531,7 +533,7 @@ class ClusterStateController:
except Exception as err:
logger.warning(f"Host ping fails with error {err}")
return HostStatus.ONLINE
@reporter.step("Get contract by domain - {domain_name}")
def get_domain_contracts(self, cluster_node: ClusterNode, domain_name: str):
frostfs_adm = FrostfsAdm(