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:
atiratree 2021-06-09 15:24:30 +02:00
parent 59f150333e
commit c882437f22

View File

@ -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)