test: bump deployment condition timeout

This commit is contained in:
Michail Kargakis 2017-02-05 01:02:04 +01:00
parent c84f3abca1
commit e8f1d9bac6

View File

@ -3462,7 +3462,7 @@ func WaitForObservedDeployment(c clientset.Interface, ns, deploymentName string,
func WaitForDeploymentWithCondition(c clientset.Interface, ns, deploymentName, reason string, condType extensions.DeploymentConditionType) error {
var conditions []extensions.DeploymentCondition
pollErr := wait.PollImmediate(time.Second, 1*time.Minute, func() (bool, error) {
pollErr := wait.PollImmediate(time.Second, 5*time.Minute, func() (bool, error) {
deployment, err := c.Extensions().Deployments(ns).Get(deploymentName, metav1.GetOptions{})
if err != nil {
return false, err