Skip to content

Commit c54052e

Browse files
committed
Further bump create timeout in wait test to 5 minutes
Also set Delay so that it doesn't exceed max retries
1 parent 7f40dab commit c54052e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

kustomize/manifest.go

+1
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ func (km *kManifest) waitCreatedOrUpdated(t time.Duration) error {
436436
Target: []string{"done"},
437437
Pending: []string{"in progress"},
438438
Timeout: t,
439+
Delay: t / 20,
439440
Refresh: func() (interface{}, string, error) {
440441
return refresh(km)
441442
},

kustomize/resource_kustomization_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ resource "kustomization_resource" "dep1" {
513513
manifest = data.kustomization_build.test.manifests["apps/Deployment/test-wait/test"]
514514
wait = true
515515
timeouts {
516-
create = "2m"
516+
create = "5m"
517517
update = "1m"
518518
}
519519
}

0 commit comments

Comments
 (0)