-
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
RAM: Fix acceptance test failures #33002
Conversation
…in the same AWS Organization and RAM Sharing with AWS Organizations is enabled, this resource is not necessary'.
Acceptance test output: % make testacc TESTARGS='-run=TestAccRAMResourceShare_' PKG=ram ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ram/... -v -count 1 -parallel 2 -run=TestAccRAMResourceShare_ -timeout 180m === RUN TestAccRAMResourceShare_basic === PAUSE TestAccRAMResourceShare_basic === RUN TestAccRAMResourceShare_permission === PAUSE TestAccRAMResourceShare_permission === RUN TestAccRAMResourceShare_allowExternalPrincipals === PAUSE TestAccRAMResourceShare_allowExternalPrincipals === RUN TestAccRAMResourceShare_name === PAUSE TestAccRAMResourceShare_name === RUN TestAccRAMResourceShare_tags === PAUSE TestAccRAMResourceShare_tags === RUN TestAccRAMResourceShare_disappears === PAUSE TestAccRAMResourceShare_disappears === CONT TestAccRAMResourceShare_basic === CONT TestAccRAMResourceShare_name --- PASS: TestAccRAMResourceShare_basic (30.11s) === CONT TestAccRAMResourceShare_allowExternalPrincipals --- PASS: TestAccRAMResourceShare_name (51.37s) === CONT TestAccRAMResourceShare_permission --- PASS: TestAccRAMResourceShare_permission (28.48s) === CONT TestAccRAMResourceShare_disappears --- PASS: TestAccRAMResourceShare_allowExternalPrincipals (50.81s) === CONT TestAccRAMResourceShare_tags --- PASS: TestAccRAMResourceShare_disappears (22.63s) --- PASS: TestAccRAMResourceShare_tags (63.67s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ram 149.404s
Community NoteVoting for Prioritization
For Submitters
|
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=TestAccRAMResourceShare_' PKG=ram ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ram/... -v -count 1 -parallel 2 -run=TestAccRAMResourceShare_ -timeout 180m
--- PASS: TestAccRAMResourceShare_basic (23.10s)
=== CONT TestAccRAMResourceShare_disappears
--- PASS: TestAccRAMResourceShare_name (36.97s)
=== CONT TestAccRAMResourceShare_allowExternalPrincipals
--- PASS: TestAccRAMResourceShare_disappears (15.06s)
=== CONT TestAccRAMResourceShare_tags
--- PASS: TestAccRAMResourceShare_allowExternalPrincipals (34.85s)
=== CONT TestAccRAMResourceShare_permission
--- PASS: TestAccRAMResourceShare_tags (47.76s)
--- PASS: TestAccRAMResourceShare_permission (20.58s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ram 95.828s
$ make testacc TESTARGS='-run=TestAccRAMResourceShareAccepter_' PKG=ram ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ram/... -v -count 1 -parallel 2 -run=TestAccRAMResourceShareAccepter_ -timeout 180m
=== NAME TestAccRAMResourceShareAccepter_basic
acctest.go:1419: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: No RAM Resource Share (arn:aws:ram:us-west-2:187416307283:resource-share/1c384df8-4571-4e28-a490-f330c26354dd) invitation found
NOTE: If both AWS accounts are in the same AWS Organization and RAM Sharing with AWS Organizations is enabled, this resource is not necessary
with aws_ram_resource_share_accepter.test,
on terraform_plugin_test.tf line 8, in resource "aws_ram_resource_share_accepter" "test":
8: resource "aws_ram_resource_share_accepter" "test" {
=== NAME TestAccRAMResourceShareAccepter_resourceAssociation
acctest.go:1419: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: No RAM Resource Share (arn:aws:ram:us-west-2:187416307283:resource-share/efe236c5-364d-41a4-a2c4-456de0c1fb2c) invitation found
NOTE: If both AWS accounts are in the same AWS Organization and RAM Sharing with AWS Organizations is enabled, this resource is not necessary
with aws_ram_resource_share_accepter.test,
on terraform_plugin_test.tf line 8, in resource "aws_ram_resource_share_accepter" "test":
8: resource "aws_ram_resource_share_accepter" "test" {
--- SKIP: TestAccRAMResourceShareAccepter_basic (139.38s)
=== CONT TestAccRAMResourceShareAccepter_disappears
--- SKIP: TestAccRAMResourceShareAccepter_resourceAssociation (141.27s)
=== NAME TestAccRAMResourceShareAccepter_disappears
acctest.go:1419: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: No RAM Resource Share (arn:aws:ram:us-west-2:187416307283:resource-share/09c2ca8e-a82a-4d04-84e1-8cc7d6034375) invitation found
NOTE: If both AWS accounts are in the same AWS Organization and RAM Sharing with AWS Organizations is enabled, this resource is not necessary
with aws_ram_resource_share_accepter.test,
on terraform_plugin_test.tf line 8, in resource "aws_ram_resource_share_accepter" "test":
8: resource "aws_ram_resource_share_accepter" "test" {
--- SKIP: TestAccRAMResourceShareAccepter_disappears (139.90s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ram 282.221s
After using % make testacc TESTARGS='-run=TestAccRAMResourceShareAccepter_' PKG=ram ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ram/... -v -count 1 -parallel 2 -run=TestAccRAMResourceShareAccepter_ -timeout 180m
=== RUN TestAccRAMResourceShareAccepter_basic
=== PAUSE TestAccRAMResourceShareAccepter_basic
=== RUN TestAccRAMResourceShareAccepter_disappears
=== PAUSE TestAccRAMResourceShareAccepter_disappears
=== RUN TestAccRAMResourceShareAccepter_resourceAssociation
=== PAUSE TestAccRAMResourceShareAccepter_resourceAssociation
=== CONT TestAccRAMResourceShareAccepter_basic
=== CONT TestAccRAMResourceShareAccepter_resourceAssociation
--- PASS: TestAccRAMResourceShareAccepter_basic (48.17s)
=== CONT TestAccRAMResourceShareAccepter_disappears
--- PASS: TestAccRAMResourceShareAccepter_resourceAssociation (61.17s)
--- PASS: TestAccRAMResourceShareAccepter_disappears (158.26s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ram 211.679s |
This functionality has been released in v5.13.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
In CI:
Output from Acceptance Testing