-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
itest: use correct testing struct for t.Cleanup()
It turns out that we used ht.t for the postgres harness, so the ht.t.Cleanup() would only be triggered at the very end of the whole integration test run and not after each individual test case. This lead to many Postgres containers being created which the GitHub CI didn't like (it killed our process). By passing in the sub-test specific testing struct, we avoid this issue.
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 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