Skip to content

Commit

Permalink
lca cnf: fix missing ibgu builder during e2e afterall (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcornea authored Oct 15, 2024
1 parent 04e50f6 commit c4dbc50
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ var _ = Describe(
Label(tsparams.LabelEndToEndUpgrade), func() {

var (
newIbguBuilder *ibgu.IbguBuilder
clusterList []*clients.Settings
clusterList []*clients.Settings
)

BeforeAll(func() {
Expand All @@ -52,6 +51,13 @@ var _ = Describe(

AfterAll(func() {
By("Deleting upgrade ibgu created on target hub cluster", func() {
newIbguBuilder := ibgu.NewIbguBuilder(cnfinittools.TargetHubAPIClient,
tsparams.IbguName, tsparams.IbguNamespace).
WithClusterLabelSelectors(tsparams.ClusterLabelSelector).
WithSeedImageRef(cnfinittools.CNFConfig.IbguSeedImage, cnfinittools.CNFConfig.IbguSeedImageVersion).
WithOadpContent(cnfinittools.CNFConfig.IbguOadpCmName, cnfinittools.CNFConfig.IbguOadpCmNamespace).
WithPlan([]string{"Prep", "Upgrade"}, 5, 30)

_, err := newIbguBuilder.DeleteAndWait(1 * time.Minute)
Expect(err).ToNot(HaveOccurred(), "Failed to delete prep-upgrade ibgu on target hub cluster")

Expand Down

0 comments on commit c4dbc50

Please # to comment.