75301ca84d8ee03f28f719ca8a255547fff402d9
On local Windows + SQLite, DiscoverRunner's teardown ends in os.remove(test_db.sqlite3), which raises PermissionError [WinError 32] when another handle still holds the file (a concurrent run, a lingering connection, AV / Search indexer) — crashing an otherwise-green run at the very end. RobustCompressorTestRunner.teardown_databases now retries super() up to 10x with a 0.1s sleep, then leaves the stale file for the next run to overwrite rather than fail. Mirrors the _robust_save PermissionError retry already in the runner. CI-neutral: CI is Postgres on Linux — teardown is DROP DATABASE (no file remove), and Linux unlinks open files without error — so the loop never triggers there. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
Python
45.5%
JavaScript
36.1%
HTML
9.6%
SCSS
8.6%
Jinja
0.1%