mirror of
https://github.com/netbirdio/netbird.git
synced 2025-07-14 21:35:23 +02:00
Terminate mysql container
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user