Files
floci/src/test/java/io/github
Kenshin Okinaka 7a036fdf59 fix(sqs): drop uppercase "Tags" read from CreateQueue JSON handler (#752)
* fix(sqs): drop uppercase "Tags" read from CreateQueue JSON handler

AWS SQS JSON 1.0 schema uses lowercase "tags" for CreateQueue (uppercase
"Tags" is reserved for TagQueue). Real AWS treats unknown JSON fields as
ignored, so a hand-crafted client sending uppercase "Tags" would lose its
tags on AWS — but floci silently persisted them, diverging from AWS
behavior and masking client bugs at migration time.

Drop the defensive uppercase merge and add JSON-protocol integration
tests for both the canonical lowercase path (tags persist) and the
uppercase-as-unknown-field path (tags ignored).

* test(sqs): wrap CreateQueue-with-tags tests in try/finally for cleanup

Wrap CreateQueue + ListQueueTags + DeleteQueue test bodies so the
cleanup DeleteQueue runs in a finally block. A failed assertion
previously left an orphan queue, which could mask flake under re-runs
since CreateQueue is idempotent and won't re-apply tags to an existing
queue.
2026-05-09 00:32:49 -05:00
..