Skip to content

Commit 820776b

Browse files
committed
scylla_cluster,scylla_node: increase debug timeout for watch_rest_for_alive
seems like the 360s default for debug for `watch_rest_for_alive` isn't enough as it was for `watch_log_for_alive`, making it 600s (10min) Fix: #477
1 parent f63682d commit 820776b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ccmlib/scylla_cluster.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def start_nodes(self, nodes=None, no_wait=False, verbose=False, wait_for_binary_
146146
for old_node, _ in marks:
147147
for node, _, _ in started:
148148
if old_node is not node:
149-
old_node.watch_rest_for_alive(node)
149+
t = 120 if self.scylla_mode != 'debug' else 600
150+
old_node.watch_rest_for_alive(node, timeout=t)
150151

151152
return started
152153

ccmlib/scylla_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def _start_scylla(self, args, marks, update_pid, wait_other_notice,
310310

311311
if wait_other_notice:
312312
for node, _ in marks:
313-
t = timeout if timeout is not None else 120 if self.cluster.scylla_mode != 'debug' else 360
313+
t = timeout if timeout is not None else 120 if self.cluster.scylla_mode != 'debug' else 600
314314
node.watch_rest_for_alive(self, timeout=t)
315315
self.watch_rest_for_alive(node, timeout=t)
316316

0 commit comments

Comments
 (0)