Skip to content

Commit

Permalink
[-] fix migrateTest to close opened pgengine
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Nov 15, 2023
1 parent b55af11 commit e448cbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/migrator/migrator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func migrateTest() error {
if err != nil {
return err
}
defer pge.Finalize()
_, _ = pge.ConfigDb.Exec(ctx, "DROP TABLE IF EXISTS foo, bar, baz, migration")
db, err := pge.ConfigDb.Acquire(ctx)
if err != nil {
Expand Down

0 comments on commit e448cbd

Please sign in to comment.