diff --git a/test/extended/image_ecosystem/sample_repos.go b/test/extended/image_ecosystem/sample_repos.go index 210f2292bb74..9c8606194c5d 100644 --- a/test/extended/image_ecosystem/sample_repos.go +++ b/test/extended/image_ecosystem/sample_repos.go @@ -70,7 +70,7 @@ func NewSampleRepoTest(c sampleRepoConfig) func() { buildName := c.buildConfigName + "-1" g.By("expecting the build is in the Complete phase") - err = exutil.WaitForABuild(oc.BuildClient().BuildV1().Builds(oc.Namespace()), buildName, nil, nil, nil) + err = exutil.WaitForABuildWithTimeout(oc.BuildClient().BuildV1().Builds(oc.Namespace()), buildName, 5*time.Minute, 15*time.Minute, nil, nil, nil) if err != nil { exutil.DumpBuildLogs(c.buildConfigName, oc) }