Use framework.podStartTimeout for kubectl test pod launch

pull/6/head
Dr. Stefan Schimanski 2016-05-24 13:10:56 +02:00
parent 8f104a7b0f
commit d3f8eaba7f
1 changed files with 1 additions and 1 deletions

View File

@ -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)