Skip to content

Commit

Permalink
fix: terminate second mysql container
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Sep 19, 2024
1 parent 43a47ef commit 3cd89db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ func Test_MYSQL_New(t *testing.T) {
require.NoError(t, testStore.Close())

c := mustStartMySQL(t)
t.Cleanup(func() {
require.NoError(t, c.Terminate(context.Background()))
})

dsn, err := c.ConnectionString(context.Background())
require.NoError(t, err)
Expand Down

0 comments on commit 3cd89db

Please sign in to comment.