From 7c788057db99a2c927bf4f9768f9730016759d4e Mon Sep 17 00:00:00 2001 From: anikeev-yadro Date: Wed, 27 Sep 2023 18:28:56 +0300 Subject: [PATCH] Fix empty map tests Signed-off-by: anikeev-yadro --- pytest_tests/testsuites/failovers/test_failover_storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_tests/testsuites/failovers/test_failover_storage.py b/pytest_tests/testsuites/failovers/test_failover_storage.py index 705677b..f90f423 100644 --- a/pytest_tests/testsuites/failovers/test_failover_storage.py +++ b/pytest_tests/testsuites/failovers/test_failover_storage.py @@ -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(