-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: Leave failed postgres db state in pool tests.
This modifies the pool tests to avoid cleaning up the postgres data when there is a test failure and the -failfast test flag is set so the contents of the database can be examined. Since a failed run with -failfast will no longer purge the data, it also adds logic to purge the data prior to running the tests to ensure any previous failed runs are cleaned up on subsequent runs.
- Loading branch information
1 parent
a8cab74
commit 91f6e87
Showing
1 changed file
with
30 additions
and
0 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