Skip to content

Commit

Permalink
Lower initial retry interval.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacknz committed Jan 18, 2024
1 parent 02a52b9 commit 84a2d5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/testing/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ func watchState(ctx context.Context, t *testing.T, c client.Client, timeout time
// get a valid StateWatch connection
var sub client.ClientStateWatch
expBackoff := backoff.NewExponentialBackOff()
expBackoff.InitialInterval = 100 * time.Millisecond
expBackoff.MaxElapsedTime = timeout
expBackoff.MaxInterval = 2 * time.Second
err = backoff.RetryNotify(
Expand Down

0 comments on commit 84a2d5c

Please sign in to comment.