Skip to content

Commit

Permalink
bump up retry max to 20 for lb tests
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned committed Jan 15, 2021
1 parent 350e8e6 commit fbec1ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/azure_lb.go
Expand Up @@ -180,7 +180,9 @@ func AzureLBSpec(ctx context.Context, inputGetter func() AzureLBSpecInput) {
if !input.IPv6 {
By("connecting directly to the external LB service")
url := fmt.Sprintf("http://%s", elbIP)
resp, err := retryablehttp.Get(url)
client := retryablehttp.NewClient()
client.RetryMax = 20
resp, err := client.Get(url)
if resp != nil {
defer resp.Body.Close()
}
Expand Down

0 comments on commit fbec1ed

Please sign in to comment.