Skip to content

fix(test): harden download tests for Windows EPERM flakiness#426

Merged
jackwener merged 1 commit into
mainfrom
fix/windows-download-test
Mar 25, 2026
Merged

fix(test): harden download tests for Windows EPERM flakiness#426
jackwener merged 1 commit into
mainfrom
fix/windows-download-test

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

  • Clean up temp directories in afterEach to avoid stale file locks
  • Add retry(2) on Windows to handle Defender file scanning EPERM

Fixes intermittent EPERM: operation not permitted, open '...redirect.txt.tmp' on Windows CI.

Test plan

  • Windows unit-test shard 1/2 passes consistently

- Clean up temp directories in afterEach to avoid stale file locks
- Add retry(2) on Windows to handle Defender file scanning EPERM
@jackwener jackwener merged commit 8469c89 into main Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant