-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
vendor: hashicorp/go-multierror@3d5d8f294aa03d8e98859feac328afbdf1ae0703 #5442
Conversation
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 👍
This has been released in version 1.31.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
…rror conditions In #5442 (vendor: hashicorp/go-multierror@3d5d8f2), the output formatting for go-multierror changed which included an additional newline after the final error message. These two acceptance tests were too strict with their ExpectError regex validation and extraneously checking whitespace handling outside the returned error. Previously: --- FAIL: TestAccAWSDynamoDbTable_attributeUpdateValidation (0.93s) testing.go:511: Step 0, expected error: Error planning: 1 error occurred: * aws_dynamodb_table.basic-dynamodb-table: 1 error occurred: * aws_dynamodb_table.basic-dynamodb-table: All attributes must be indexed. Unused attributes: ["unusedKey"] To match: All attributes must be indexed. Unused attributes: \["unusedKey"\]$ --- FAIL: TestAccAWSDynamoDbTable_streamSpecificationValidation (0.86s) testing.go:511: Step 0, expected error: Error planning: 1 error occurred: * aws_dynamodb_table.basic-dynamodb-table: 1 error occurred: * aws_dynamodb_table.basic-dynamodb-table: stream_view_type is required when stream_enabled = true To match: stream_view_type is required when stream_enabled = true$ Now: make testacc TEST=./aws TESTARGS='-run=TestAccAWSDynamoDbTable_\(attributeUpdate\|streamSpecification\)Validation' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSDynamoDbTable_\(attributeUpdate\|streamSpecification\)Validation -timeout 120m === RUN TestAccAWSDynamoDbTable_streamSpecificationValidation --- PASS: TestAccAWSDynamoDbTable_streamSpecificationValidation (2.89s) === RUN TestAccAWSDynamoDbTable_attributeUpdateValidation --- PASS: TestAccAWSDynamoDbTable_attributeUpdateValidation (3.80s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 7.317s
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! |
Changes proposed in this pull request:
govendor fetch github.com/hashicorp/go-multierror/...@3d5d8f294aa03d8e98859feac328afbdf1ae0703
Output from acceptance testing: Handled via daily acceptance testing