Fix teardown for network test #92
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,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