-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
BugFix: aws_cloudfrontkeyvaluestore_key
mutex
#36734
BugFix: aws_cloudfrontkeyvaluestore_key
mutex
#36734
Conversation
Community NoteVoting for Prioritization
For Submitters
|
aws_cloudfrontkeyvaluestore_key
mutex
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccCloudFrontKeyValueStore_' PKG=cloudfront ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/cloudfront/... -v -count 1 -parallel 2 -run=TestAccCloudFrontKeyValueStore_ -timeout 360m
exit
=== RUN TestAccCloudFrontKeyValueStore_basic
=== PAUSE TestAccCloudFrontKeyValueStore_basic
=== RUN TestAccCloudFrontKeyValueStore_disappears
=== PAUSE TestAccCloudFrontKeyValueStore_disappears
=== RUN TestAccCloudFrontKeyValueStore_comment
=== PAUSE TestAccCloudFrontKeyValueStore_comment
=== CONT TestAccCloudFrontKeyValueStore_basic
=== CONT TestAccCloudFrontKeyValueStore_comment
--- PASS: TestAccCloudFrontKeyValueStore_basic (57.35s)
=== CONT TestAccCloudFrontKeyValueStore_disappears
--- PASS: TestAccCloudFrontKeyValueStore_comment (77.56s)
--- PASS: TestAccCloudFrontKeyValueStore_disappears (44.11s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront 119.090s
% make testacc TESTARGS='-run=TestAccCloudFrontKeyValueStoreKey_' PKG=cloudfrontkeyvaluestore ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/cloudfrontkeyvaluestore/... -v -count 1 -parallel 2 -run=TestAccCloudFrontKeyValueStoreKey_ -timeout 360m
=== RUN TestAccCloudFrontKeyValueStoreKey_basic
=== PAUSE TestAccCloudFrontKeyValueStoreKey_basic
=== RUN TestAccCloudFrontKeyValueStoreKey_mutex
=== PAUSE TestAccCloudFrontKeyValueStoreKey_mutex
=== RUN TestAccCloudFrontKeyValueStoreKey_value
=== PAUSE TestAccCloudFrontKeyValueStoreKey_value
=== RUN TestAccCloudFrontKeyValueStoreKey_disappears
=== PAUSE TestAccCloudFrontKeyValueStoreKey_disappears
=== CONT TestAccCloudFrontKeyValueStoreKey_basic
=== CONT TestAccCloudFrontKeyValueStoreKey_value
--- PASS: TestAccCloudFrontKeyValueStoreKey_basic (57.04s)
=== CONT TestAccCloudFrontKeyValueStoreKey_disappears
--- PASS: TestAccCloudFrontKeyValueStoreKey_value (87.70s)
=== CONT TestAccCloudFrontKeyValueStoreKey_mutex
--- PASS: TestAccCloudFrontKeyValueStoreKey_disappears (54.76s)
--- PASS: TestAccCloudFrontKeyValueStoreKey_mutex (50.71s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudfrontkeyvaluestore 154.564s
@brittandeyoung Thanks for the contribution 🎉 👏. |
@brittandeyoung thank you for the fix! |
This functionality has been released in v5.44.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. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This change implements a mutex to make actions against cloudfront key value stores serialized.
Relations
Relates #36534
References
Output from Acceptance Testing