Files
floci/compatibility-tests/sdk-test-awscli/test
Stuart Lang 7516acb5f9 fix(sqs): omit Messages field from empty ReceiveMessage JSON response (#780)
* fix(sqs): omit Messages field from empty ReceiveMessage JSON response

Real AWS SQS omits the Messages field entirely when a ReceiveMessage
call returns no messages. With AWSConfigs.InitializeCollections=false
(the modern AWS SDK default) the SDK leaves the response collection as
null in that case, which several parity tests assert.

Floci was emitting "Messages": [] instead, so the SDK deserialized it
to a non-null empty list. This broke the StartMessageMoveTask family
of tests (which drain a freshly-created queue and assert null) and
~12 other tests in the .NET conformance sweep.

Refs #768.

* test(pipes): handle empty AWS CLI output in stopped-pipe assertion

After the SQS ReceiveMessage fix, an empty queue response is `{}` instead
of `{"Messages": []}`. The AWS CLI may emit an empty string in that case,
which makes `jq` fail and leaves msgs as empty, breaking the assertion.

Default $out to `{}` so the .Messages // [] fallback applies cleanly.
2026-05-12 19:30:02 -05:00
..