-
-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in coverage tests
Tests now generate coverprofile files into different paths so now they don't interfere with each other and can be run successfully in parallel. Some extra changes: - Use BeARegularFile() to check for file existance in coverage_test - Wrap every It with a Context to properly remove any generated file
- Loading branch information
Showing
2 changed files
with
101 additions
and
96 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