Skip to content

Commit bfe696b

Browse files
committed
Use longer pod start timeouts for specific tests
The kubelet test here is using a one minute timeout, instead of the normal framework.PodStartTimeout. The DNS results validation functions pull several images including the jessie-dnsutils which is a bit bigger than usual.
1 parent 9f6f608 commit bfe696b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/e2e/common/kubelet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var _ = framework.KubeDescribe("Kubelet", func() {
121121
return fmt.Errorf("expected non-zero exitCode and non-empty terminated state reason. Got exitCode: %+v and terminated state reason: %+v", contTerminatedState.ExitCode, contTerminatedState.Reason)
122122
}
123123
return nil
124-
}, time.Minute, time.Second*4).Should(gomega.BeNil())
124+
}, framework.PodStartTimeout, time.Second*4).Should(gomega.BeNil())
125125
})
126126

127127
/*

test/e2e/network/dns_common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ func validateDNSResults(f *framework.Framework, pod *v1.Pod, fileNames []string)
568568
framework.Failf("ginkgo.Failed to create pod %s/%s: %v", pod.Namespace, pod.Name, err)
569569
}
570570

571-
framework.ExpectNoError(f.WaitForPodRunning(pod.Name))
571+
framework.ExpectNoError(f.WaitForPodRunningSlow(pod.Name))
572572

573573
ginkgo.By("retrieving the pod")
574574
pod, err := podClient.Get(pod.Name, metav1.GetOptions{})
@@ -596,7 +596,7 @@ func validateTargetedProbeOutput(f *framework.Framework, pod *v1.Pod, fileNames
596596
framework.Failf("ginkgo.Failed to create pod %s/%s: %v", pod.Namespace, pod.Name, err)
597597
}
598598

599-
framework.ExpectNoError(f.WaitForPodRunning(pod.Name))
599+
framework.ExpectNoError(f.WaitForPodRunningSlow(pod.Name))
600600

601601
ginkgo.By("retrieving the pod")
602602
pod, err := podClient.Get(pod.Name, metav1.GetOptions{})

0 commit comments

Comments
 (0)