Commit 559e89c
authored
🐛 fix(test): resolve Windows CI flake in provision integration tests (#3732)
The Windows CI job `test 3.12 on windows-2025` fails intermittently on
`test_provision_install_pkg_pep517`. Investigation showed the test
consistently takes ~32s on Windows due to provisioned subprocess pip
installs, which exceeds the global 30s `pytest-timeout`. The "deadlock"
stack trace is actually `pytest-timeout` dumping threads before killing
the test. 🔍
The fix raises the timeout to 120s for both provision integration tests
that spawn real subprocesses. This also re-enables
`test_provision_requires_ok` on Windows, which was skipped under the
assumption it deadlocked — the actual cause was the same 30s timeout
being too tight for these heavier integration tests.
Validated with 20/20 passes on `windows-2025` CI runners.1 parent ab4fc8c commit 559e89c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| |||
0 commit comments