fix: terminate second mysql container

This commit is contained in:
Manuel de la Peña
2024-09-20 00:38:10 +02:00
parent 43a47ef467
commit 3cd89dbcf7

View File

@@ -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)