-
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
SDKv2 ImportState and ExpectError Test Failures #14801
Labels
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
upstream-terraform
Addresses functionality related to the Terraform core binary.
Comments
bflad
added
upstream-terraform
Addresses functionality related to the Terraform core binary.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
labels
Aug 24, 2020
bflad
pushed a commit
that referenced
this issue
Aug 31, 2020
…iguration cluster_endpoint argument + other plan-time validations (#12484) Output from acceptance testing (failure related to #14801, which is pending SDK release): ``` --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_HiveJsonSerDe_Empty (117.70s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_s3KinesisStreamSource (120.98s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_s3basic (138.97s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_ExternalUpdate (139.32s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_ParquetSerDe_Empty (147.64s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_s3WithCloudwatchLogging (151.49s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_disappears (163.31s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_ErrorOutputPrefix (168.98s) --- FAIL: TestAccAWSKinesisFirehoseDeliveryStream_basic (170.08s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3KmsKeyArn (178.69s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_ProcessingConfiguration_Empty (182.19s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_OpenXJsonSerDe_Empty (182.93s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_OrcSerDe_Empty (183.27s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3basic (188.71s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_Deserializer_Update (193.04s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_Serializer_Update (196.71s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_DataFormatConversionConfiguration_Enabled (196.89s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_s3basicWithTags (205.97s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3_KinesisStreamSource (99.58s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_s3basicWithSSE (248.87s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_s3ConfigUpdates (263.69s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ExtendedS3Updates (169.93s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_SplunkConfigUpdates (161.74s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_missingProcessingConfiguration (133.82s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_RedshiftConfigUpdates (512.06s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ElasticsearchConfigUpdates (753.17s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ElasticsearchConfigEndpointUpdates (753.32s) --- PASS: TestAccAWSKinesisFirehoseDeliveryStream_ElasticsearchWithVpcConfigUpdates (1437.39s) ```
Fixed with Terraform Plugin SDK v2.0.4. 👍 |
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
locked as resolved and limited conversation to collaborators
Nov 12, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
upstream-terraform
Addresses functionality related to the Terraform core binary.
Community Note
Description
There are currently issues with Terraform Plugin SDK version 2 when an acceptance testing step includes both
ImportState
andExpectError
, where the newer version does not honor the check against the expected error. This has historically been used for verify that incorrect import identifiers trigger an appropriate error.Some examples include:
Affected Tests
TestAccAWSAutoscalingSchedule_basic
TestAccAWSEcsService_basicImport
TestAccAWSKinesisFirehoseDeliveryStream_basic
References
The text was updated successfully, but these errors were encountered: