-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_route: Refactor acceptance tests in preparation for future fixes/enhancements #14014
r/aws_route: Refactor acceptance tests in preparation for future fixes/enhancements #14014
Conversation
Added a test case as mentioned here and commented it out as the test fails. |
966eae9
to
36faae1
Compare
Rebased to fix merge conflicts. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_ -timeout 120m
=== RUN TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN TestAccAWSRoute_routeTableDisappears
=== PAUSE TestAccAWSRoute_routeTableDisappears
=== RUN TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== CONT TestAccAWSRoute_basic
=== CONT TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_basic (41.11s)
=== CONT TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (49.06s)
=== CONT TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_Instance (127.98s)
=== CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (61.68s)
=== CONT TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (31.20s)
=== CONT TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (35.83s)
=== CONT TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (40.20s)
=== CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (42.92s)
=== CONT TestAccAWSRoute_routeTableDisappears
--- PASS: TestAccAWSRoute_IPv6_To_Instance (116.05s)
=== CONT TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_routeTableDisappears (38.34s)
=== CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_disappears (37.63s)
=== CONT TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (49.09s)
=== CONT TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (57.59s)
=== CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (30.14s)
=== CONT TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (193.91s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (333.38s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (34.67s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (142.39s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 736.952s |
36faae1
to
d38fcfd
Compare
Rebased and re-ran acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_ -timeout 120m
=== RUN TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN TestAccAWSRoute_routeTableDisappears
=== PAUSE TestAccAWSRoute_routeTableDisappears
=== RUN TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== CONT TestAccAWSRoute_basic
=== CONT TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_basic (39.79s)
=== CONT TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (59.87s)
=== CONT TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv4_To_Instance (101.81s)
=== CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (47.32s)
=== CONT TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (212.74s)
=== CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (29.14s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (332.31s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (34.77s)
=== CONT TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (115.81s)
=== CONT TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (42.36s)
=== CONT TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv6_To_Instance (118.35s)
=== CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (54.41s)
=== CONT TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (30.89s)
=== CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (33.84s)
=== CONT TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (44.68s)
=== CONT TestAccAWSRoute_routeTableDisappears
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (39.12s)
=== CONT TestAccAWSRoute_disappears
=== CONT TestAccAWSRoute_routeTableDisappears
resource_aws_route_test.go:89: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSRoute_routeTableDisappears (37.25s)
=== CONT TestAccAWSRoute_disappears
resource_aws_route_test.go:65: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSRoute_disappears (36.38s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 712.961s |
This comment has been minimized.
This comment has been minimized.
d38fcfd
to
14f2e58
Compare
Rebased and fixed merge conflict. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_ -timeout 120m
=== RUN TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN TestAccAWSRoute_routeTableDisappears
=== PAUSE TestAccAWSRoute_routeTableDisappears
=== RUN TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN TestAccAWSRoute_IPv6_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv6_To_TransitGateway
=== RUN TestAccAWSRoute_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv4_To_LocalGateway
=== RUN TestAccAWSRoute_IPv6_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv6_To_LocalGateway
=== RUN TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== CONT TestAccAWSRoute_basic
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_basic (38.91s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (31.82s)
=== CONT TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (105.67s)
=== CONT TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (49.14s)
=== CONT TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_Instance (90.94s)
=== CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (30.95s)
=== CONT TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (48.85s)
=== CONT TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (33.13s)
=== CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (44.90s)
=== CONT TestAccAWSRoute_routeTableDisappears
resource_aws_route_test.go:90: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSRoute_IPv6_To_Instance (103.04s)
=== CONT TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_routeTableDisappears (37.28s)
=== CONT TestAccAWSRoute_IPv4_To_LocalGateway
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts Outpost found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.62s)
=== CONT TestAccAWSRoute_IPv6_To_InternetGateway
=== CONT TestAccAWSRoute_disappears
resource_aws_route_test.go:66: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSRoute_disappears (36.30s)
=== CONT TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (39.22s)
=== CONT TestAccAWSRoute_IPv6_To_LocalGateway
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts Outpost found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (1.65s)
=== CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (47.20s)
=== CONT TestAccAWSRoute_IPv6_To_TransitGateway
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (60.48s)
=== CONT TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (331.00s)
=== CONT TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (330.01s)
=== CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (29.57s)
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (202.80s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 931.450s |
@FireballDWF Is it possible to verify the updated local gateway route tests (I added a test for an IPv6 route)? make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_LocalGateway\|TestAccAWSRoute_IPv6_To_LocalGateway' Thanks. |
2163d22
to
e96b079
Compare
e96b079
to
d312b66
Compare
d312b66
to
d4c008a
Compare
@ewbankkit can you look at merge conflicts? |
d4c008a
to
f5d7076
Compare
Rebased and resolved merge conflicts. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_ -timeout 120m
=== RUN TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN TestAccAWSRoute_routeTableDisappears
=== PAUSE TestAccAWSRoute_routeTableDisappears
=== RUN TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN TestAccAWSRoute_IPv6_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv6_To_TransitGateway
=== RUN TestAccAWSRoute_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv4_To_LocalGateway
=== RUN TestAccAWSRoute_IPv6_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv6_To_LocalGateway
=== RUN TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== RUN TestAccAWSRoute_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSRoute_IPv4_To_VpcEndpoint
=== CONT TestAccAWSRoute_basic
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_basic (36.08s)
=== CONT TestAccAWSRoute_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (143.27s)
=== CONT TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (52.54s)
=== CONT TestAccAWSRoute_IPv6_To_LocalGateway
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (1.31s)
=== CONT TestAccAWSRoute_IPv4_To_LocalGateway
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.10s)
=== CONT TestAccAWSRoute_IPv6_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpcEndpoint (264.48s)
=== CONT TestAccAWSRoute_IPv4_To_TransitGateway
=== CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (347.40s)
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (43.32s)
=== CONT TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (368.71s)
=== CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (25.18s)
=== CONT TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (58.90s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (208.19s)
=== CONT TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (57.65s)
=== CONT TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (37.92s)
=== CONT TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (43.17s)
=== CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (25.24s)
=== CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (37.49s)
=== CONT TestAccAWSRoute_IPv6_To_Instance
=== CONT TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv4_To_Instance (327.06s)
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (35.48s)
=== CONT TestAccAWSRoute_routeTableDisappears
--- PASS: TestAccAWSRoute_routeTableDisappears (32.92s)
=== CONT TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_disappears (32.04s)
--- PASS: TestAccAWSRoute_IPv6_To_Instance (329.08s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1283.954s |
f5d7076
to
77cdf84
Compare
resource.TestCheckResourceAttr(resourceName, "origin", ec2.RouteOriginCreateRoute), | ||
resource.TestCheckResourceAttr(resourceName, "state", ec2.RouteStateActive), | ||
resource.TestCheckResourceAttr(resourceName, "transit_gateway_id", ""), | ||
// TODO resource.TestCheckResourceAttr(resourceName, "vpc_endpoint_id", ""), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These TODO
s will be removed in #16930.
Rebased and resolved merge conflicts. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_\|TestAccAWSRouteDataSource_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_\|TestAccAWSRouteDataSource_ -timeout 120m
=== RUN TestAccAWSRouteDataSource_basic
=== PAUSE TestAccAWSRouteDataSource_basic
=== RUN TestAccAWSRouteDataSource_TransitGatewayID
=== PAUSE TestAccAWSRouteDataSource_TransitGatewayID
=== RUN TestAccAWSRouteDataSource_LocalGatewayID
=== PAUSE TestAccAWSRouteDataSource_LocalGatewayID
=== RUN TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN TestAccAWSRoute_disappears_RouteTable
=== PAUSE TestAccAWSRoute_disappears_RouteTable
=== RUN TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN TestAccAWSRoute_IPv6_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv6_To_TransitGateway
=== RUN TestAccAWSRoute_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv4_To_LocalGateway
=== RUN TestAccAWSRoute_IPv6_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv6_To_LocalGateway
=== RUN TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== RUN TestAccAWSRoute_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSRoute_IPv4_To_VpcEndpoint
=== CONT TestAccAWSRouteDataSource_basic
=== CONT TestAccAWSRoute_IPv4_To_Instance
=== CONT TestAccAWSRoute_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSRouteDataSource_basic (88.06s)
--- PASS: TestAccAWSRoute_IPv4_To_Instance (318.99s)
=== CONT TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (52.75s)
=== CONT TestAccAWSRoute_IPv6_To_LocalGateway
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (1.25s)
=== CONT TestAccAWSRoute_IPv4_To_LocalGateway
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.10s)
=== CONT TestAccAWSRoute_IPv6_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpcEndpoint (379.05s)
=== CONT TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (378.61s)
=== CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (44.65s)
=== CONT TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (337.02s)
=== CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (25.10s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (187.33s)
=== CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== CONT TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (58.30s)
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (35.38s)
=== CONT TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (44.77s)
=== CONT TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (39.45s)
=== CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (351.27s)
=== CONT TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (26.61s)
=== CONT TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (59.40s)
=== CONT TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_disappears (32.53s)
=== CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (38.29s)
=== CONT TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_disappears_RouteTable (33.20s)
=== CONT TestAccAWSRouteDataSource_LocalGatewayID
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRouteDataSource_LocalGatewayID (1.17s)
=== CONT TestAccAWSRoute_basic
--- PASS: TestAccAWSRoute_basic (34.96s)
=== CONT TestAccAWSRouteDataSource_TransitGatewayID
--- PASS: TestAccAWSRoute_IPv6_To_Instance (297.99s)
--- PASS: TestAccAWSRouteDataSource_TransitGatewayID (388.81s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1768.977s |
ca2dba6
to
0dfe3ac
Compare
0dfe3ac
to
84087ab
Compare
84087ab
to
2c127fb
Compare
2c127fb
to
618f34a
Compare
618f34a
to
4406339
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! There are some nits in here but since they may be addressed by subsequent PRs, I'll wait to the end for them.
Acceptance tests in GovCloud:
--- SKIP: TestAccAWSRoute_IPv4_To_VpcEndpoint (1.63s)
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.97s)
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (2.03s)
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (41.68s)
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (44.68s)
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (48.18s)
--- PASS: TestAccAWSRoute_disappears (48.63s)
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (50.92s)
--- PASS: TestAccAWSRoute_disappears_RouteTable (51.46s)
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (54.34s)
--- PASS: TestAccAWSRoute_basic (56.41s)
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (56.67s)
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (56.78s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (68.24s)
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (73.70s)
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (75.32s)
--- PASS: TestAccAWSRoute_IPv4_To_Instance (100.11s)
--- PASS: TestAccAWSRoute_IPv6_To_Instance (144.38s)
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (215.23s)
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (324.64s)
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (325.39s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (392.72s)
Commercial:
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (1.44s)
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (7.06s)
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (38.01s)
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (40.67s)
--- PASS: TestAccAWSRoute_disappears_RouteTable (45.26s)
--- PASS: TestAccAWSRoute_disappears (45.96s)
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (48.53s)
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (52.28s)
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (54.70s)
--- PASS: TestAccAWSRoute_basic (55.27s)
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (55.97s)
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (57.22s)
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (65.81s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (67.75s)
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (70.55s)
--- PASS: TestAccAWSRoute_IPv6_To_Instance (118.85s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (174.57s)
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (218.63s)
--- PASS: TestAccAWSRoute_IPv4_To_VpcEndpoint (284.16s)
--- PASS: TestAccAWSRoute_IPv4_To_Instance (362.13s)
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (378.75s)
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (379.40s)
This has been released in version 3.34.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Builds on: None (unmerged)
Dependents: #16930, #16961, #17291, #17295
Relates #12994 (remove hardcoded AMI).
Refactoring
aws_route
resource acceptance tests in preparation for future fixes/enhancements.Release note for CHANGELOG:
Output from acceptance testing: