From 9f9b1e32de13cc2dd65be3b264a1cbd8977b5ec6 Mon Sep 17 00:00:00 2001 From: Aleksandr Bykov Date: Fri, 13 Dec 2024 17:54:01 +0700 Subject: [PATCH] fix(test): use verifcation node to check status --- add_new_dc_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/add_new_dc_test.py b/add_new_dc_test.py index baca55573d..9e03707449 100644 --- a/add_new_dc_test.py +++ b/add_new_dc_test.py @@ -199,7 +199,7 @@ def replace_all_nodes_in_DC1(): nodes_to_region[target_dc_name][-1].dc_idx) # bootstrap new node in 1st dc - new_data_node = self.add_node_in_new_dc(nodes_to_region[target_dc_name][-1].dc_idx, 3) + new_data_node = self.add_node_in_new_dc(nodes_to_region[target_dc_name][-1].dc_idx, 4) for node in node_for_termination: self.db_cluster.terminate_node(node) @@ -318,7 +318,7 @@ def replace_cluster_node(self, verification_node: BaseNode, self.log.warning("Node will not be terminated. Please terminate manually!!!") raise - self.db_cluster.wait_for_nodes_up_and_normal(nodes=[new_node]) + self.db_cluster.wait_for_nodes_up_and_normal(nodes=[new_node], verification_node=verification_node) new_node.wait_node_fully_start() with new_node.remote_scylla_yaml() as scylla_yaml: scylla_yaml.ignore_dead_nodes_for_replace = ""