Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2: Implement MaxRetries #77

Merged
merged 2 commits into from
Sep 17, 2021
Merged

V2: Implement MaxRetries #77

merged 2 commits into from
Sep 17, 2021

Conversation

gdavison
Copy link
Contributor

Implements the MaxRetries parameter and adds retry shortcutting for network errors

@gdavison gdavison requested a review from a team as a code owner September 16, 2021 18:10
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

 % make test
go test -timeout=30s -parallel=4 ./...
ok  	github.com/hashicorp/aws-sdk-go-base	6.025s
?   	github.com/hashicorp/aws-sdk-go-base/internal/constants	[no test files]
?   	github.com/hashicorp/aws-sdk-go-base/internal/endpoints	[no test files]
?   	github.com/hashicorp/aws-sdk-go-base/mockdata	[no test files]
?   	github.com/hashicorp/aws-sdk-go-base/servicemocks	[no test files]
cd awsv1shim && go test -timeout=30s -parallel=4 ./...
ok  	github.com/hashicorp/aws-sdk-go-base/awsv1shim	0.760s
?   	github.com/hashicorp/aws-sdk-go-base/awsv1shim/mockdata	[no test files]
ok  	github.com/hashicorp/aws-sdk-go-base/awsv1shim/tfawserr	(cached)

@gdavison gdavison merged commit e40bcc3 into v2 Sep 17, 2021
@gdavison gdavison deleted the v2-max-retries branch September 17, 2021 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants