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

Import acceptance test refactor for SSM resources #9957

Merged
merged 1 commit into from
Sep 5, 2019
Merged

Conversation

ryndaniels
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates #8944

Release note for CHANGELOG:

NONE

Output from acceptance testing:

$ make testacc TESTARGS="-run=TestAccAWSSSMParameter"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSSSMParameter -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSSSMParameter_basic
=== PAUSE TestAccAWSSSMParameter_basic
=== RUN   TestAccAWSSSMParameter_Tier
=== PAUSE TestAccAWSSSMParameter_Tier
=== RUN   TestAccAWSSSMParameter_disappears
=== PAUSE TestAccAWSSSMParameter_disappears
=== RUN   TestAccAWSSSMParameter_overwrite
=== PAUSE TestAccAWSSSMParameter_overwrite
=== RUN   TestAccAWSSSMParameter_updateTags
=== PAUSE TestAccAWSSSMParameter_updateTags
=== RUN   TestAccAWSSSMParameter_updateDescription
=== PAUSE TestAccAWSSSMParameter_updateDescription
=== RUN   TestAccAWSSSMParameter_changeNameForcesNew
=== PAUSE TestAccAWSSSMParameter_changeNameForcesNew
=== RUN   TestAccAWSSSMParameter_fullPath
=== PAUSE TestAccAWSSSMParameter_fullPath
=== RUN   TestAccAWSSSMParameter_secure
=== PAUSE TestAccAWSSSMParameter_secure
=== RUN   TestAccAWSSSMParameter_secure_with_key
=== PAUSE TestAccAWSSSMParameter_secure_with_key
=== RUN   TestAccAWSSSMParameter_secure_keyUpdate
=== PAUSE TestAccAWSSSMParameter_secure_keyUpdate
=== CONT  TestAccAWSSSMParameter_basic
=== CONT  TestAccAWSSSMParameter_changeNameForcesNew
=== CONT  TestAccAWSSSMParameter_updateDescription
=== CONT  TestAccAWSSSMParameter_updateTags
=== CONT  TestAccAWSSSMParameter_disappears
=== CONT  TestAccAWSSSMParameter_secure_keyUpdate
=== CONT  TestAccAWSSSMParameter_secure_with_key
=== CONT  TestAccAWSSSMParameter_secure
=== CONT  TestAccAWSSSMParameter_overwrite
=== CONT  TestAccAWSSSMParameter_Tier
=== CONT  TestAccAWSSSMParameter_fullPath
--- PASS: TestAccAWSSSMParameter_disappears (22.83s)
--- PASS: TestAccAWSSSMParameter_secure (36.29s)
--- PASS: TestAccAWSSSMParameter_fullPath (36.45s)
--- PASS: TestAccAWSSSMParameter_basic (36.47s)
--- PASS: TestAccAWSSSMParameter_updateDescription (59.03s)
--- PASS: TestAccAWSSSMParameter_overwrite (60.49s)
--- PASS: TestAccAWSSSMParameter_updateTags (60.51s)
--- PASS: TestAccAWSSSMParameter_changeNameForcesNew (61.85s)
--- PASS: TestAccAWSSSMParameter_secure_with_key (78.22s)
--- PASS: TestAccAWSSSMParameter_Tier (83.03s)
--- PASS: TestAccAWSSSMParameter_secure_keyUpdate (102.72s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       104.232s

make testacc TESTARGS="-run=TestAccAWSSsmResourceDataSync"      
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSSsmResourceDataSync -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSSsmResourceDataSync_basic
=== PAUSE TestAccAWSSsmResourceDataSync_basic
=== RUN   TestAccAWSSsmResourceDataSync_update
=== PAUSE TestAccAWSSsmResourceDataSync_update
=== CONT  TestAccAWSSsmResourceDataSync_basic
=== CONT  TestAccAWSSsmResourceDataSync_update
--- PASS: TestAccAWSSsmResourceDataSync_basic (62.07s)
--- PASS: TestAccAWSSsmResourceDataSync_update (117.29s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       120.894s

@ryndaniels ryndaniels requested a review from a team September 2, 2019 13:21
@ghost ghost added size/L Managed by automation to categorize the size of a PR. service/ssm Issues and PRs that pertain to the ssm service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Sep 2, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

--- PASS: TestAccAWSSSMParameter_disappears (8.62s)
--- PASS: TestAccAWSSsmResourceDataSync_basic (14.37s)
--- PASS: TestAccAWSSSMParameter_updateDescription (22.11s)
--- PASS: TestAccAWSSSMParameter_changeNameForcesNew (22.45s)
--- PASS: TestAccAWSSSMParameter_updateTags (22.36s)
--- PASS: TestAccAWSSsmResourceDataSync_update (23.30s)
--- PASS: TestAccAWSSSMParameter_overwrite (24.14s)
--- PASS: TestAccAWSSSMParameter_basic (25.68s)
--- PASS: TestAccAWSSSMParameter_secure (30.14s)
--- PASS: TestAccAWSSSMParameter_fullPath (32.28s)
--- PASS: TestAccAWSSSMParameter_Tier (36.51s)
--- PASS: TestAccAWSSSMParameter_secure_with_key (50.14s)
--- PASS: TestAccAWSSSMParameter_secure_keyUpdate (55.35s)

@ryndaniels ryndaniels added this to the v2.27.0 milestone Sep 5, 2019
@ryndaniels ryndaniels merged commit 6dff067 into master Sep 5, 2019
@ryndaniels ryndaniels deleted the rfd-at002-ssm branch September 5, 2019 08:55
@ghost
Copy link

ghost commented Sep 5, 2019

This has been released in version 2.27.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!

@ghost
Copy link

ghost commented Nov 1, 2019

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!

@ghost ghost locked and limited conversation to collaborators Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ssm Issues and PRs that pertain to the ssm service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants