Skip to content

Commit

Permalink
fix: retry if curl fails to connect (#165)
Browse files Browse the repository at this point in the history
Signed-off-by: matttrach <[email protected]>
  • Loading branch information
matttrach authored Aug 28, 2024
1 parent 82c47a2 commit 1a0ae24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func setup(t *testing.T, directory string, region string, owner string, id strin
".*connection reset by peer.*": "Failed due to transient network error.",
".*TLS handshake timeout.*": "Failed due to transient network error.",
".*i/o timeout.*": "Failed due to transient network error.",
".*curl.*exit status 7.*": "Failed due to transient network error.",
}

terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
Expand Down

0 comments on commit 1a0ae24

Please sign in to comment.