Skip to content

Commit

Permalink
controllers: add 3 second timeout to assertion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Feb 28, 2024
1 parent ecf03a7 commit 7793ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/servicediscovery_controller_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func assertHeadlessSvcWithUpdatedVIPEndpoints(ctx context.Context, guestClient c
key := client.ObjectKey{Namespace: namespace, Name: name}
Expect(guestClient.Get(ctx, key, headlessEndpoints)).Should(Succeed())
return headlessEndpoints.Subsets[0].Addresses[0].IP
}).Should(Equal(testSupervisorAPIServerVIP))
}, time.Second*3).Should(Equal(testSupervisorAPIServerVIP))
Expect(headlessEndpoints.Subsets[0].Ports[0].Port).To(Equal(int32(supervisorAPIServerPort)))
}

Expand Down

0 comments on commit 7793ef7

Please sign in to comment.