-
Notifications
You must be signed in to change notification settings - Fork 9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/resource/aws_s3_bucket: Refactor broken TypeSet checking (#15955)
Previously: ``` === CONT TestAccAWSS3Bucket_UpdateGrant TestAccAWSS3Bucket_UpdateGrant: resource_aws_s3_bucket_test.go:640: Step 3/4 error: Check failed: Check 3/3 error: Error in test check: aws_s3_bucket.bucket: Attribute 'grant.3106909455.permissions.#' not found Test check address "grant.3106909455.permissions.#" likely indexes into TypeSet This is currently not possible in the SDK --- FAIL: TestAccAWSS3Bucket_UpdateGrant (99.60s) ``` Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSS3Bucket_UpdateGrant (84.59s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSS3Bucket_UpdateGrant (92.91s) ```
- Loading branch information
Showing
1 changed file
with
17 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters