Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
GH-311 rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymvavilov committed Oct 3, 2023
1 parent cb0ac5d commit 9b298c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/dnspolicy_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var _ = Describe("DNSPolicy", Ordered, func() {
It("should have ready condition with status true", func() {
By("creating a valid Gateway")

gateway = NewTestGateway("test-gateway", gwClassName, testNamespace).
gateway = testutil.NewTestGateway("test-gateway", gwClassName, testNamespace).
WithHTTPListener("test.example.com").Gateway
Expect(k8sClient.Create(ctx, gateway)).To(BeNil())
Eventually(func() error { //gateway exists
Expand Down Expand Up @@ -1283,9 +1283,9 @@ var _ = Describe("DNSPolicy", Ordered, func() {
Protocol: gatewayv1beta1.HTTPProtocolType,
}

patch = client.MergeFrom(gateway.DeepCopy())
gateway.Spec.Listeners = append(gateway.Spec.Listeners, otherListener)
Expect(k8sClient.Patch(ctx, gateway, patch)).To(BeNil())
patch := client.MergeFrom(gateway.DeepCopy())
gateway.Spec.Listeners = append(gateway.Spec.Listeners, otherListener)
Expect(k8sClient.Patch(ctx, gateway, patch)).To(BeNil())

probeList := &v1alpha1.DNSHealthCheckProbeList{}
Eventually(func() error {
Expand Down

0 comments on commit 9b298c4

Please sign in to comment.