Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymvavilov committed Jan 4, 2024
1 parent 44451c9 commit e554334
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/gateway_single_spoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,11 @@ var _ = Describe("Gateway single target cluster", func() {
}
AddListener("other", testHostnameOther, gatewayapiv1.ObjectName(testHostnameOther), gw)
Eventually(func(g Gomega, ctx SpecContext) {
err = tconfig.HubClient().Update(ctx, gw)
patch := client.MergeFrom(gw.DeepCopy())
err = tconfig.HubClient().Patch(ctx, gw, patch)
//err = tconfig.HubClient().Update(ctx, gw)


Expect(err).ToNot(HaveOccurred())
checkGateway := &gatewayapiv1.Gateway{}
err = tconfig.HubClient().Get(ctx, client.ObjectKey{Name: testID, Namespace: tconfig.HubNamespace()}, checkGateway)
Expand Down

0 comments on commit e554334

Please sign in to comment.