mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
e2e test: bump ProgressDeadlineSeconds in Deployment iterative rollouts
align it with WaitForDeploymentComplete timeout to give the Deployment a chance to complete on contended environments
This commit is contained in:
parent
59f150333e
commit
c882437f22
@ -878,9 +878,9 @@ func testIterativeDeployments(f *framework.Framework) {
|
||||
|
||||
// Create a webserver deployment.
|
||||
deploymentName := "webserver"
|
||||
thirty := int32(30)
|
||||
fiveMinutes := int32(5 * 60)
|
||||
d := e2edeployment.NewDeployment(deploymentName, replicas, podLabels, WebserverImageName, WebserverImage, appsv1.RollingUpdateDeploymentStrategyType)
|
||||
d.Spec.ProgressDeadlineSeconds = &thirty
|
||||
d.Spec.ProgressDeadlineSeconds = &fiveMinutes
|
||||
d.Spec.RevisionHistoryLimit = &two
|
||||
d.Spec.Template.Spec.TerminationGracePeriodSeconds = &zero
|
||||
framework.Logf("Creating deployment %q", deploymentName)
|
||||
|
Loading…
Reference in New Issue
Block a user