aws-cloudformation / aws-cloudformation/cloudformation-cli

Conflict contract tests: contract_update_non_existent_resource and contract_update_create_only_property

Open
#550 6 comments 3 reactions 0 assignees View on GitHub
contract tests question
Dominant language
Python
Stars
336
Forks
172
Avg merge
3d 5m
Merged PRs (30d)
3

Description

Hey,

Our team is failing with contract test contract_update_non_existent_resource due it use contract_update_create_only_property test json file as previous resource model. This will make a failure loop that:

If test update the resource with same resource name, contract_update_create_only_property will failed due there is no createonly property change.

if test update the resource with different resource name, contract_update_non_existent_resource will failed due `CfnNotUpdatableException` instead of NotFound.

Let me know if you wanna me clarify something, thanks!
Alex

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.