mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 09:07:14 +08:00
fix: terminate second mysql container
This commit is contained in:
@@ -69,6 +69,9 @@ func Test_MYSQL_New(t *testing.T) {
|
|||||||
require.NoError(t, testStore.Close())
|
require.NoError(t, testStore.Close())
|
||||||
|
|
||||||
c := mustStartMySQL(t)
|
c := mustStartMySQL(t)
|
||||||
|
t.Cleanup(func() {
|
||||||
|
require.NoError(t, c.Terminate(context.Background()))
|
||||||
|
})
|
||||||
|
|
||||||
dsn, err := c.ConnectionString(context.Background())
|
dsn, err := c.ConnectionString(context.Background())
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
Reference in New Issue
Block a user