Fix stress test tool exec kill
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
59bd196711
commit
4363994d87
@ -239,9 +239,9 @@ func (w *worker) runContainer(ctx context.Context, id string) error {
|
||||
logrus.WithError(err).Error("exec failure")
|
||||
}
|
||||
}
|
||||
}
|
||||
if err := task.Kill(ctx, syscall.SIGKILL); err != nil {
|
||||
return err
|
||||
if err := task.Kill(ctx, syscall.SIGKILL); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
status := <-statusC
|
||||
_, _, err = status.Result()
|
||||
|
Loading…
Reference in New Issue
Block a user