From 8d8691f5e88a8ba7b0c78db42afa26fb9ca1f1ff Mon Sep 17 00:00:00 2001 From: Lukas Krejci Date: Fri, 27 Sep 2024 11:08:29 +0200 Subject: [PATCH] Trying to reduce the flakiness of the samples smoke tests by increasing the timeout for the build of the app. --- test/extended/image_ecosystem/sample_repos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }