Skip to content

Cache downloads to file in MDS integration tests#472

Merged
emlun merged 2 commits intomainfrom
mds-integration-test-cache
Apr 21, 2026
Merged

Cache downloads to file in MDS integration tests#472
emlun merged 2 commits intomainfrom
mds-integration-test-cache

Conversation

@emlun
Copy link
Copy Markdown
Member

@emlun emlun commented Apr 21, 2026

MDS rate limits download requests, so rapid re-runs of the integration tests may fail due to the server rejecting requests with 429 Too Many Requests. Caching the downloaded files across integration test runs helps prevent this. This comes at the cost of making the integration tests less reliable at testing the HTTP connection parts, in exchange for the benefit of making the tests less likely to fail for transient reasons.

emlun added 2 commits April 21, 2026 12:13
MDS rate limits download requests, so rapid re-runs of the integration tests may
fail due to the server rejecting requests with `429 Too Many Requests`. Caching
the downloaded files across integration test runs helps prevent this. This comes
at the cost of making the integration tests less reliable at testing the HTTP
connection parts, in exchange for the benefit of making the tests less likely to
fail for transient reasons.
@emlun emlun requested a review from fdennis April 21, 2026 11:24
@github-actions
Copy link
Copy Markdown

Test Results

2 308 tests   2 300 ✅  1m 1s ⏱️
   46 suites      8 💤
   46 files        0 ❌

Results for commit 17de2d8.

@emlun emlun merged commit b42ecf9 into main Apr 21, 2026
20 checks passed
@emlun emlun deleted the mds-integration-test-cache branch April 21, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants