Skip to content
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

Merged
merged 1 commit into from
Aug 4, 2018

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Aug 3, 2018

Changes proposed in this pull request:

Output from acceptance testing: Handled via daily acceptance testing

@bflad bflad added dependencies Used to indicate dependency changes. provider Pertains to the provider itself, rather than any interaction with AWS. labels Aug 3, 2018
@ghost ghost added size/M Managed by automation to categorize the size of a PR. dependencies Used to indicate dependency changes. labels Aug 3, 2018
@bflad bflad requested a review from a team August 3, 2018 14:32
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@bflad bflad added this to the v1.31.0 milestone Aug 4, 2018
@bflad bflad merged commit a71b832 into master Aug 4, 2018
@bflad bflad deleted the v-go-multierror-sort branch August 4, 2018 01:27
bflad added a commit that referenced this pull request Aug 4, 2018
@bflad
Copy link
Contributor Author

bflad commented Aug 9, 2018

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.

bflad added a commit that referenced this pull request Aug 12, 2018
…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
@ghost
Copy link

ghost commented Apr 4, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Used to indicate dependency changes. provider Pertains to the provider itself, rather than any interaction with AWS. size/M Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants