mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
test: bump deployment condition timeout
This commit is contained in:
parent
c84f3abca1
commit
e8f1d9bac6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user