Skip to content

Commit

Permalink
fix: increase the timeout values for FBC tests (#1062)
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Qi <[email protected]>

The buildTimeoutSeconds in RPA is not enough to complete the build some time.
Change the error being return to original error from system.
  • Loading branch information
jinqi7 authored Mar 1, 2024
1 parent d11a2af commit 078116c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/release/pipelines/fbc_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 078116c

Please sign in to comment.