Skip to content

Commit

Permalink
Check separately
Browse files Browse the repository at this point in the history
  • Loading branch information
willie-yao committed Jan 8, 2024
1 parent 62f9fb3 commit 405a1d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/aks_marketplace.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ func AKSMarketplaceExtensionSpec(ctx context.Context, inputGetter func() AKSMark
},
},
}
g.Expect(mgmtClient.Update(ctx, infraControlPlane)).To(Succeed())
}, input.WaitExtensionIntervals...).Should(Succeed())

Eventually(func(g Gomega) {
err = mgmtClient.Get(ctx, client.ObjectKey{Namespace: input.Cluster.Spec.ControlPlaneRef.Namespace, Name: input.Cluster.Spec.ControlPlaneRef.Name}, infraControlPlane)
g.Expect(err).NotTo(HaveOccurred())
g.Expect(conditions.IsTrue(infraControlPlane, infrav1.AKSExtensionsReadyCondition)).To(BeTrue())
}, input.WaitExtensionIntervals...).Should(Succeed())

Expand Down

0 comments on commit 405a1d9

Please sign in to comment.