Skip to content

Commit

Permalink
fix E2E flake
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvindthiru committed Nov 11, 2023
1 parent f17f87f commit a8bc112
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/v1alpha1/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,10 @@ var _ = Describe("Fleet's Reserved Namespace Handler fleet network tests", Order
Expect(HubCluster.KubeClient.Create(ctx, &internalServiceExportCRD)).Should(Succeed())
By("internalServiceExport CRD created")

Eventually(func(g Gomega) error {
return HubCluster.KubeClient.Get(ctx, types.NamespacedName{Name: "internalserviceexports.networking.fleet.azure.com"}, &internalServiceExportCRD)
}, testutils.PollTimeout, testutils.PollInterval).Should(Succeed())

ns = corev1.Namespace{
ObjectMeta: metav1.ObjectMeta{
Name: "fleet-member-test-internal-service-export",
Expand Down

0 comments on commit a8bc112

Please sign in to comment.