Merge pull request #1832 from crosbymichael/stress-kill
Fix stress test tool exec kill
This commit is contained in:
commit
04dab2acd6
@ -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