mirror of https://github.com/k3s-io/k3s
Merge pull request #41157 from dashpole/test_timeout_delete
lengthen pod deletion timeout to prevent flakespull/6/head
commit
46becf2c81
|
@ -164,7 +164,7 @@ var _ = framework.KubeDescribe("Pods Extended", func() {
|
|||
deleted := false
|
||||
timeout := false
|
||||
var lastPod *v1.Pod
|
||||
timer := time.After(30 * time.Second)
|
||||
timer := time.After(1 * time.Minute)
|
||||
for !deleted && !timeout {
|
||||
select {
|
||||
case event, _ := <-w.ResultChan():
|
||||
|
|
|
@ -35,7 +35,7 @@ var _ = framework.KubeDescribe("Container Lifecycle Hook", func() {
|
|||
var podClient *framework.PodClient
|
||||
const (
|
||||
podCheckInterval = 1 * time.Second
|
||||
podWaitTimeout = 2 * time.Minute
|
||||
podWaitTimeout = 3 * time.Minute
|
||||
postStartWaitTimeout = 2 * time.Minute
|
||||
preStopWaitTimeout = 30 * time.Second
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue