Skip to content

Commit 39eebf3

Browse files
cursoragentManjotS
andcommitted
ansible-scylla-node: use scylla_bootstrap_wait_time_sec for API port wait
The 'wait for the API port to come up on all nodes' task used a hardcoded 600s timeout, inconsistent with the surrounding bootstrap logic which allows scylla_bootstrap_wait_time_sec (default 7h) for node startup and cluster health checks. Under loaded CI runners the API port can take longer than 600s to come up even after the CQL port has already responded, causing flaky 'Timeout when waiting for 127.0.0.1:10000' failures unrelated to the change under test. Co-authored-by: Manjot Singh <ManjotS@users.noreply.github.com>
1 parent 080dd1e commit 39eebf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible-scylla-node/tasks/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
wait_for:
353353
port: "{{ scylla_api_port }}"
354354
host: "{{ scylla_api_address }}"
355-
timeout: 600
355+
timeout: "{{ scylla_bootstrap_wait_time_sec | int }}"
356356

357357
- name: wait for the cluster to become healthy
358358
shell:

0 commit comments

Comments
 (0)