Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scylla_cluster,scylla_node: increase debug timeout for watch_rest_for_alive #480

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ccmlib/scylla_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def start_nodes(self, nodes=None, no_wait=False, verbose=False, wait_for_binary_
for old_node, _ in marks:
for node, _, _ in started:
if old_node is not node:
old_node.watch_rest_for_alive(node)
t = 120 if self.scylla_mode != 'debug' else 600
old_node.watch_rest_for_alive(node, timeout=t)

return started

Expand Down
2 changes: 1 addition & 1 deletion ccmlib/scylla_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def _start_scylla(self, args, marks, update_pid, wait_other_notice,

if wait_other_notice:
for node, _ in marks:
t = timeout if timeout is not None else 120 if self.cluster.scylla_mode != 'debug' else 360
t = timeout if timeout is not None else 120 if self.cluster.scylla_mode != 'debug' else 600
node.watch_rest_for_alive(self, timeout=t)
self.watch_rest_for_alive(node, timeout=t)

Expand Down