From 6cccc97aead97babd25c41a54d46c2b1583a1c46 Mon Sep 17 00:00:00 2001 From: bcmmbaga Date: Fri, 3 Jan 2025 15:49:59 +0300 Subject: [PATCH] Terminate mysql container Signed-off-by: bcmmbaga --- management/server/testutil/store.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/management/server/testutil/store.go b/management/server/testutil/store.go index dfa7aaa1a..97ab24489 100644 --- a/management/server/testutil/store.go +++ b/management/server/testutil/store.go @@ -34,8 +34,7 @@ func CreateMysqlTestContainer() (func(), error) { } cleanUp := func() { - timeout := 1 * time.Second - if err = container.Stop(ctx, &timeout); err != nil { + if err = container.Terminate(ctx); err != nil { log.WithContext(ctx).Warnf("failed to stop container: %s", err) } }