-
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
r/aws_medialive_multiplex: add CRUD operations #26608
Conversation
When running the acceptance tests I am getting continual HTTP 500 errors: % make testacc TESTARGS='-run=TestAccMediaLiveMultiplex_basic' PKG=medialive ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/medialive/... -v -count 1 -parallel 3 -run=TestAccMediaLiveMultiplex_basic -timeout 180m
=== RUN TestAccMediaLiveMultiplex_basic
=== PAUSE TestAccMediaLiveMultiplex_basic
=== CONT TestAccMediaLiveMultiplex_basic
multiplex_test.go:30: Step 1/2 error: Error running apply: exit status 1
Error: creating AWS Elemental MediaLive Multiplex (tf-acc-test-2378415715046248013): operation error MediaLive: CreateMultiplex, exceeded maximum number of attempts, 25, https response error StatusCode: 500, RequestID: bbb44f48-a87f-4c33-a335-521f8fd9c12b, InternalServerErrorException: Internal Server Error
with aws_medialive_multiplex.test,
on terraform_plugin_test.tf line 6, in resource "aws_medialive_multiplex" "test":
6: resource "aws_medialive_multiplex" "test" {
--- FAIL: TestAccMediaLiveMultiplex_basic (452.68s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/medialive 456.227s
FAIL
make: *** [testacc] Error 1 Any ideas? |
@ewbankkit it seems like there is a limit of I've changed these test to run $ make testacc TESTS=TestAccMediaLive_serial PKG=medialive 130 ↵
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/medialive/... -v -count 1 -parallel 20 -run='TestAccMediaLive_serial' -timeout 180m
=== RUN TestAccMediaLive_serial
=== RUN TestAccMediaLive_serial/Multiplex
=== RUN TestAccMediaLive_serial/Multiplex/basic
=== RUN TestAccMediaLive_serial/Multiplex/disappears
=== RUN TestAccMediaLive_serial/Multiplex/update
=== RUN TestAccMediaLive_serial/Multiplex/updateTags
=== RUN TestAccMediaLive_serial/Multiplex/start
--- PASS: TestAccMediaLive_serial (558.09s)
--- PASS: TestAccMediaLive_serial/Multiplex (558.09s)
--- PASS: TestAccMediaLive_serial/Multiplex/basic (61.12s)
--- PASS: TestAccMediaLive_serial/Multiplex/disappears (72.81s)
--- PASS: TestAccMediaLive_serial/Multiplex/update (97.38s)
--- PASS: TestAccMediaLive_serial/Multiplex/updateTags (89.76s)
--- PASS: TestAccMediaLive_serial/Multiplex/start (237.01s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/medialive 564.308s |
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=TestAccMediaLive_serial/Multiplex' PKG=medialive
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/medialive/... -v -count 1 -parallel 20 -run=TestAccMediaLive_serial/Multiplex -timeout 180m
=== RUN TestAccMediaLive_serial
=== RUN TestAccMediaLive_serial/Multiplex
=== RUN TestAccMediaLive_serial/Multiplex/updateTags
=== RUN TestAccMediaLive_serial/Multiplex/start
=== RUN TestAccMediaLive_serial/Multiplex/basic
=== RUN TestAccMediaLive_serial/Multiplex/disappears
=== RUN TestAccMediaLive_serial/Multiplex/update
--- PASS: TestAccMediaLive_serial (592.09s)
--- PASS: TestAccMediaLive_serial/Multiplex (592.09s)
--- PASS: TestAccMediaLive_serial/Multiplex/updateTags (84.87s)
--- PASS: TestAccMediaLive_serial/Multiplex/start (284.10s)
--- PASS: TestAccMediaLive_serial/Multiplex/basic (61.76s)
--- PASS: TestAccMediaLive_serial/Multiplex/disappears (57.25s)
--- PASS: TestAccMediaLive_serial/Multiplex/update (104.10s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/medialive 596.208s
This functionality has been released in v4.30.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. |
Community Note
Relates #4936
Output from acceptance testing: