Skip to content

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
willie-yao committed Dec 4, 2023
1 parent 338d0af commit 4d887bb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/e2e/aks_fleets_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ func AKSFleetsMemberSpec(ctx context.Context, inputGetter func() AKSFleetsMember
Location: ptr.To(os.Getenv(AzureLocation)),
}, nil)
Expect(err).To(BeNil())

Eventually(func(g Gomega) {
_, err := poller.PollUntilDone(ctx, nil)
Expect(err).NotTo(HaveOccurred())
}, input.WaitIntervals...).Should(Succeed(), "failed to create fleet manager")
res, err := poller.PollUntilDone(ctx, nil)
Expect(err).To(BeNil())
Logf("Fleet manager created: %v", res.Fleet.Name)
Logf("Fleet manager arm id: %v", *res.Fleet.ID)

By("Joining the cluster to the fleet hub")
var infraControlPlane = &infrav1.AzureManagedControlPlane{}
Expand Down

0 comments on commit 4d887bb

Please sign in to comment.