-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change waiting time for a pod in e2e test #36777
Conversation
@@ -568,7 +568,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() { | |||
podJson := readTestFileOrDie(kubectlInPodFilename) | |||
By("validating api verions") | |||
framework.RunKubectlOrDieInput(string(podJson), "create", "-f", "-", nsFlag) | |||
err := wait.PollImmediate(time.Second, time.Minute, func() (bool, error) { | |||
err := wait.PollImmediate(3*time.Second, 3*time.Minute, func() (bool, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it really be taking more than a minute for this pod to start?
Jenkins GCI GKE smoke e2e failed for commit 5b1c69e. Full PR test history. The magic incantation to run this job again is |
5b1c69e
to
9ada06b
Compare
Updated the code. Added debugging code. Leave the waiting for pod code unchanged. |
@ixdy ping |
9ada06b
to
5c21cc8
Compare
Reopen this PR. Since we still need to give pod more time as other tests do. cc: @dims |
LGTM 👍 @ymqytw (pending tests, but hey 5 mins is better than one!) |
Jenkins GCE etcd3 e2e failed for commit 0c5f10b16d922eb34d5c809266532eb67d473b23. Full PR test history. The magic incantation to run this job again is |
@k8s-bot gce etcd3 e2e test this |
/lgtm |
#36586 is 1.5, so I'm guessing this should be too? |
I'm happy that it looks like we found the actual bug, too. :) |
0c5f10b
to
ad3095c
Compare
@k8s-merge-robot Rebased. |
@ymqytw PR needs rebase |
Closing because this test is being reverted. |
This was a change to the common framework, does it not apply to other tests using this method? |
Change waiting time for a pod.
partially addresses: #36962
This change is