Integration test task.Delete fix
Integration test task.Delete fix

task.Delete() will try to kill the task before delete it,
but once the task is killed, the TaskExit event will also
tigger another task.Delete() which would conflict with this
test task.Delete(). To avoid this conflict, kill the task instead
of Delete it, and let TaskExit trigger task.Delete().

Signed-off-by: lifupan <7b7fe88f5ea44fd7f6a337bf8f9d89a8345c7f95@gmail.com>

mikebrow/containerd,thaJeztah/containerd,estesp/containerd,vdemeester/containerd,estesp/containerd,containerd/containerd,containerd/containerd,mikebrow/containerd,thaJeztah/containerd,vdemeester/containerd,dmcgowan/containerd,dmcgowan/containerd