Test run-pass-fulldeps\issue-15149.rs usually fails on Windows #25542
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
O-windows
Operating system: Windows
https://github.com/rust-lang/rust/blob/master/src/test/run-pass-fulldeps/issue-15149.rs
Here's the problematic piece:
On my machine
remove_dir_all
usually can't delete filemytest.exe
with "access denied" error. If I insert something likestd::thread::sleep_ms(1000);
beforeremove_dir_all
then the test consistently passes. Supposedly we are trying to delete it too soon when it's still locked after execution.The text was updated successfully, but these errors were encountered: