mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-09 23:48:24 +01:00
Terminate mysql container
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
parent
60c50bf93b
commit
6cccc97aea
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user