New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: possible fix for Intermittent Test Failures in GH Actions #987
Conversation
The changes look good to me, thanks for taking the time to do all this! There's a lot of changes in here. Unfortunately, since this going to affect stuff running on GitHub, there are some other questions I want to ask before we merge:
|
Yes it'll need to be kept open for a while.
Since I added the change to use
All borrows to the As for the git tests with |
* upstream/master: improvement: replace reqwest with attohttpc (#999) build(deps): bump regex from 1.3.4 to 1.3.5 refactor: Fix new Clippy suggestions (#1006) build(deps): bump sysinfo from 0.11.6 to 0.11.7 build(deps): bump sysinfo from 0.11.4 to 0.11.6 build(deps): bump open from 1.3.4 to 1.4.0 build(deps): bump chrono from 0.4.10 to 0.4.11
…hip#987) * fix: possible fix for Intermittent Test Failures in GH Actions * undo some of the chnages to directory.rs * typo * add docs
Description
The recent Test Failures in GH Actions (#886) might be caused be premature tempdir cleanup. This PR attempts to remidy that by closing the tempdirs either expcilitly with
close
or usinginto_path
and cleaning them up withremove_dir_all
.Motivation and Context
Possible fix for #886
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Checklist: