mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Use framework.podStartTimeout for kubectl test pod launch
This commit is contained in:
parent
8f104a7b0f
commit
d3f8eaba7f
@ -166,7 +166,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
|
|||||||
// test files.
|
// test files.
|
||||||
// Print debug info if atLeast Pods are not found before the timeout
|
// Print debug info if atLeast Pods are not found before the timeout
|
||||||
waitForOrFailWithDebug := func(atLeast int) {
|
waitForOrFailWithDebug := func(atLeast int) {
|
||||||
pods, err := clusterState().WaitFor(atLeast, 90*time.Second)
|
pods, err := clusterState().WaitFor(atLeast, framework.PodStartTimeout)
|
||||||
if err != nil || len(pods) < atLeast {
|
if err != nil || len(pods) < atLeast {
|
||||||
// TODO: Generalize integrating debug info into these tests so we always get debug info when we need it
|
// TODO: Generalize integrating debug info into these tests so we always get debug info when we need it
|
||||||
framework.DumpAllNamespaceInfo(c, ns)
|
framework.DumpAllNamespaceInfo(c, ns)
|
||||||
|
Loading…
Reference in New Issue
Block a user