diff --git a/aws/aws_suite_test.go b/aws/aws_suite_test.go index 3d61637a..3a1113d0 100644 --- a/aws/aws_suite_test.go +++ b/aws/aws_suite_test.go @@ -215,6 +215,9 @@ func LaunchMinio(host, accessKey, secretKey string) { if _, minio, _, ok := runtime.Caller(0); ok { if err := exec.CommandContext(ctx, path.Join(path.Dir(minio), "minio"), "server", "--address", host, tmp).Run(); err != nil { + if ctx.Err() != nil { + return + } panic(err) } } else {