mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 09:47:56 -05:00
fix(iot): return ConflictException for shadow version mismatch (#5814)
* fix(iot): return ConflictException for shadow version mismatch * fix(iot): match AWS shadow version conflict message * test(iot): expect modeled shadow conflict in Python SDK
This commit is contained in:
1 parent
e245dbbdd5
commit
eb84539a67
3 files changed
+40
-3
No files matched your search
@@ -327,7 +327,8 @@ def test_iot_data_retained_messages_and_shadow_conflicts(iot_data_client, unique
|
||||
)
|
||||
raise AssertionError("stale shadow update should fail")
|
||||
except ClientError as exc:
|
||||
assert exc.response["Error"]["Code"] == "VersionConflictException"
|
||||
assert exc.response["Error"]["Code"] == "ConflictException"
|
||||
assert exc.response["Error"]["Message"] == "Version conflict"
|
||||
|
||||
|
||||
def test_topic_rule_crud_and_sqs_action(iot_client, iot_data_client, sqs_client, unique_name):
|
||||
|
||||
Reference in new issue
Block a user