timeout waiting for builds earlier
@@ -684,7 +684,7 @@ func WaitForABuild(c buildv1clienttyped.BuildInterface, name string, isOK, isFai
return err
}
// wait longer for the build to run to completion
- err = wait.Poll(5*time.Second, 60*time.Minute, func() (bool, error) {
+ err = wait.Poll(5*time.Second, 10*time.Minute, func() (bool, error) {
list, err := c.List(metav1.ListOptions{FieldSelector: fields.Set{"metadata.name": name}.AsSelector().String()})
if err != nil {
e2e.Logf("error listing builds: %v", err)
