Increasing allowed delay for EndpointSlice mirroring integration tests.

The shorter 5s delay had become a source of flakes.
This commit is contained in:
Rob Scott 2020-07-27 21:43:15 -07:00
parent 575c4925be
commit eb196be139
No known key found for this signature in database
GPG Key ID: 90C19B2D4A99C91B

View File

@ -189,7 +189,7 @@ func TestEndpointSliceMirroring(t *testing.T) {
}
}
err = wait.PollImmediate(1*time.Second, 5*time.Second, func() (bool, error) {
err = wait.PollImmediate(1*time.Second, wait.ForeverTestTimeout, func() (bool, error) {
lSelector := discovery.LabelServiceName + "=" + resourceName
esList, err := client.DiscoveryV1beta1().EndpointSlices(ns.Name).List(context.TODO(), metav1.ListOptions{LabelSelector: lSelector})
if err != nil {