Skip to content

only wait in download_file when it makes sense to wait (when HTTP status 429 was found)#4880

Merged
ocaisa merged 1 commit intoeasybuilders:developfrom
boegel:download_file_wait
May 16, 2025
Merged

only wait in download_file when it makes sense to wait (when HTTP status 429 was found)#4880
ocaisa merged 1 commit intoeasybuilders:developfrom
boegel:download_file_wait

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented May 16, 2025

The changes in #4870 (which are no longer relevant for --from-pr and --from-commit with the changes in #4878) lead to massively longer test suite run times, because there are a couple of tests that deliberate involve trying to download non-existing files.

Waiting before trying again in download_file really only makes sense when a 429 HTTP status was returned ("Too many requests"), since if the specified URL simply doesn't exist, no amount of waiting is likely to result in a successful download in the end.

@ocaisa ocaisa enabled auto-merge May 16, 2025 07:52
@ocaisa ocaisa merged commit dbaf194 into easybuilders:develop May 16, 2025
37 checks passed
@boegel boegel deleted the download_file_wait branch May 16, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants