Merge pull request #61725 from liggitt/pod-deletion-contention

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Pod deletion can be contended, causing test failure

Observed this running e2e tests downstream

```release-note
NONE
```
pull/8/head
Kubernetes Submit Queue 2018-05-02 21:31:33 -07:00 committed by GitHub
commit 1e9acb63f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ var _ = SIGDescribe("Pods Extended", func() {
deleted := false deleted := false
timeout := false timeout := false
var lastPod *v1.Pod var lastPod *v1.Pod
timer := time.After(1 * time.Minute) timer := time.After(2 * time.Minute)
for !deleted && !timeout { for !deleted && !timeout {
select { select {
case event, _ := <-w.ResultChan(): case event, _ := <-w.ResultChan():