Test: Increase curl timeout for fetching join-*.sh
The default seems to be 60s, which often fails in the CICD environment. 30s is a typical time seen testing locally. Change-Id: I074c7985152fb76e5e4c7289e065ec5d1f00b5dc
This commit is contained in:
parent
4a41bab364
commit
b7d89c5070
|
@ -63,7 +63,7 @@ mkdir -p "${SCRIPT_DIR}"
|
|||
for NAME in "${NODES[@]}"; do
|
||||
log Building join script for node "${NAME}"
|
||||
|
||||
ssh_cmd "${VIA}" curl --retry 16 --retry-delay 15 "$(render_curl_url "${NAME}" "${LABELS[@]}")" > "${SCRIPT_DIR}/join-${NAME}.sh"
|
||||
ssh_cmd "${VIA}" curl --max-time 300 --retry 16 --retry-delay 15 "$(render_curl_url "${NAME}" "${LABELS[@]}")" > "${SCRIPT_DIR}/join-${NAME}.sh"
|
||||
chmod 755 "${SCRIPT_DIR}/join-${NAME}.sh"
|
||||
|
||||
log Joining node "${NAME}"
|
||||
|
|
Loading…
Reference in New Issue