mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 16:48:25 +08:00
chore: terminate container on end
This is not relevant for this PR, as Ryuk is responsible for terminating containers after the test session finishes
This commit is contained in:
@@ -43,6 +43,11 @@ func newTestStore(t testing.TB) (*Storage, error) {
|
||||
),
|
||||
)
|
||||
require.NoError(t, err)
|
||||
t.Cleanup(func() {
|
||||
if c != nil {
|
||||
require.NoError(t, c.Terminate(ctx))
|
||||
}
|
||||
})
|
||||
|
||||
conn, err := c.ConnectionString(ctx, "sslmode=disable")
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user