-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve reliability in running unit tests
This fixes what has been a huge pain for me in running the libgit2sharp unit tests lately. I think the issue is that different test runners end up preventing the Resources directory from getting cleaned/deleted. You often end up having to run the test(s) 2 or 3 times before they will actually run. The solution in this commit is to create a unique resources directory for each test run while still trying to cleanup the directories from the previous run. If there are still issues, we could let the cleanup step gracefully fail (leaving behind the previous run temp dir) and defer that cleanup until the next time the tests are run.
- Loading branch information
Showing
13 changed files
with
182 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.