Skip to content

Commit

Permalink
fix(test): use verifcation node to check status
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksbykov committed Dec 13, 2024
1 parent 2411ffa commit 9f9b1e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add_new_dc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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 = ""
Expand Down

0 comments on commit 9f9b1e3

Please sign in to comment.