Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62027: roachtest: handle transient error when downloading bumptime r=ajwerner a=stevendanna By default, `curl` will return with exit code zero even in cases where the server returned HTTP 500 or other error codes. This can cause confusing failures where we "successfully" download a file containing an error message and then try to compile it. This adds `--retry 3 --fail --show-error` to the curl command line so that transient errors are retried automatically and so that they result in a non-zero exit code if the retries don't work. We have other invocations of curl that can probably use similar arguments. Release note: None Co-authored-by: Steven Danna <[email protected]>
- Loading branch information