From 078116c72132616fe30eda93cf395d217176b045 Mon Sep 17 00:00:00 2001 From: Jing Qi Date: Fri, 1 Mar 2024 09:07:00 -0300 Subject: [PATCH] fix: increase the timeout values for FBC tests (#1062) Signed-off-by: Jing Qi The buildTimeoutSeconds in RPA is not enough to complete the build some time. Change the error being return to original error from system. --- tests/release/pipelines/fbc_release.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/release/pipelines/fbc_release.go b/tests/release/pipelines/fbc_release.go index 333bba109..aba9600a3 100644 --- a/tests/release/pipelines/fbc_release.go +++ b/tests/release/pipelines/fbc_release.go @@ -243,17 +243,17 @@ func assertReleasePipelineRunSucceeded(devFw, managedFw framework.Framework, dev Eventually(func() error { snapshot, err := devFw.AsKubeDeveloper.IntegrationController.GetSnapshot("", buildPr.Name, "", devNamespace) if err != nil { - return fmt.Errorf("snapshot in namespace %s has not been found yet", devNamespace) + return err } releaseCR, err := devFw.AsKubeDeveloper.ReleaseController.GetRelease("", snapshot.Name, devNamespace) if err != nil { - return fmt.Errorf("release in namespace %s has not been found yet", managedNamespace) + return err } Expect(err).ShouldNot(HaveOccurred()) releasePr, err := managedFw.AsKubeAdmin.ReleaseController.GetPipelineRunInNamespace(managedFw.UserNamespace, releaseCR.GetName(), releaseCR.GetNamespace()) if err != nil { - return fmt.Errorf("releasePipelineRun in namespace %s has not been found yet", managedNamespace) + return err } Expect(err).ShouldNot(HaveOccurred()) @@ -318,8 +318,8 @@ func createFBCReleasePlanAdmission(fbcRPAName string, managedFw framework.Framew "publishingCredentials": "fbc-preview-publishing-credentials", "iibServiceConfigSecret": "iib-preview-services-config", "iibOverwriteFromIndexCredential": "iib-overwrite-fromimage-credentials", - "requestUpdateTimeout": "420", - "buildTimeoutSeconds": "480", + "requestUpdateTimeout": "1500", + "buildTimeoutSeconds": "1500", "hotfix": hotfix, "issueId": issueId, "preGA": preGA,