Merge pull request #1832 from crosbymichael/stress-kill

Fix stress test tool exec kill
This commit is contained in:
Michael Crosby 2017-11-29 18:54:45 -05:00 committed by GitHub
commit 04dab2acd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,10 +239,10 @@ 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
}
}
status := <-statusC
_, _, err = status.Result()
if err != nil {