Fix empty map tests

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
master
anikeev-yadro 2023-09-27 18:28:56 +03:00
parent a0ea180aa9
commit 7c788057db
1 changed files with 2 additions and 2 deletions

View File

@ -327,8 +327,8 @@ class TestEmptyMap(ClusterTestBase):
storage_nodes = self.cluster.storage_nodes
with allure.step("Exclude all storage nodes from network map"):
for node in storage_nodes:
exclude_node_from_network_map(node, node, shell=self.shell, cluster=self.cluster)
stopped_nodes.append(node)
exclude_node_from_network_map(node, node, shell=self.shell, cluster=self.cluster)
with allure.step("Return all storage nodes to network map"):
for node in storage_nodes:
@ -396,8 +396,8 @@ class TestEmptyMap(ClusterTestBase):
with allure.step("Stop all storage nodes"):
for node in self.cluster.storage_nodes:
with allure.step(f"Stop storage service on node: {node}"):
node.stop_service()
stopped_nodes.append(node)
node.stop_service()
with allure.step("Remove all nodes from network map"):
remove_nodes_from_map_morph(