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

provider/aws: Raise timeout for attaching/detaching VPN GW #14624

Merged
merged 1 commit into from
May 18, 2017

Conversation

radeksimko
Copy link
Member

Apparently raising it to 5mins wasn't sufficient as we keep seeing failures like this:

=== RUN   TestAccAWSRouteTable_vgwRoutePropagation
--- FAIL: TestAccAWSRouteTable_vgwRoutePropagation (702.17s)
    testing.go:280: Step 0 error: Error applying: 1 error(s) occurred:
        
        * aws_vpn_gateway.foo: 1 error(s) occurred:
        
        * aws_vpn_gateway.foo: Error waiting for VPN gateway (vgw-a0c71cbe) to attach: timeout while waiting for state to become 'attached' (last state: 'detached', timeout: 5m0s)
FAIL

Copy link
Contributor

@stack72 stack72 left a comment

Choose a reason for hiding this comment

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

This LGTM but this is a candidate to change to the new Timeout structure going forward :)

@radeksimko
Copy link
Member Author

radeksimko commented May 18, 2017

I see your point, but I think that all of our resources should have high enough default timeouts that make all acceptance tests pass regularly. I see the Timeout feature as a solution for resources which may take significantly more time to create/update/delete under certain "non-conventional" conditions (like enormous number of resources and/or enormously big instance types).

In other words I'd like all users to be able to use all resources without having to specify timeouts if their use cases are conventional. Hopefully not many people need to create enormous number of VPN Gateways 😄

@radeksimko radeksimko merged commit 506eaaa into master May 18, 2017
@radeksimko radeksimko deleted the b-aws-vpn-gw-timeout branch May 18, 2017 13:02
@stack72
Copy link
Contributor

stack72 commented May 18, 2017

agreed :)

@ghost
Copy link

ghost commented Apr 12, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants