forked from TrueCloudLab/frostfs-testcases
Fix teardown for network test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
2a1d40680a
commit
d38e05c100
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class TestFailoverNetwork(ClusterTestBase):
|
||||||
with allure.step(f"Count blocked nodes {len(blocked_nodes)}"):
|
with allure.step(f"Count blocked nodes {len(blocked_nodes)}"):
|
||||||
not_empty = len(blocked_nodes) != 0
|
not_empty = len(blocked_nodes) != 0
|
||||||
for node in list(blocked_nodes):
|
for node in list(blocked_nodes):
|
||||||
with allure.step(f"Restore network at host for {node.label}"):
|
with allure.step(f"Restore network for {node}"):
|
||||||
cluster_state_controller.restore_traffic(mode="ports", node=node)
|
cluster_state_controller.restore_traffic(mode="ports", node=node)
|
||||||
blocked_nodes.remove(node)
|
blocked_nodes.remove(node)
|
||||||
if not_empty:
|
if not_empty:
|
||||||
|
|
Loading…
Reference in a new issue