mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #39096 from caesarxuchao/fix-gc-e2e-test
Automatic merge from submit-queue e2e test should fail if err==timeout If err==timeout, it means the replicaset (the owner) is not deleted after 30s, which indicates a bug, so the e2e test should fail.
This commit is contained in:
commit
de2493e733
@ -263,7 +263,7 @@ var _ = framework.KubeDescribe("Garbage collector", func() {
|
||||
return false, nil
|
||||
}
|
||||
return true, nil
|
||||
}); err != nil && err != wait.ErrWaitTimeout {
|
||||
}); err != nil {
|
||||
framework.Failf("%v", err)
|
||||
}
|
||||
By("wait for 30 seconds to see if the garbage collector mistakenly deletes the pods")
|
||||
|
Loading…
Reference in New Issue
Block a user