aws / aws-sdk-js

AWS SDK for JavaScript in the browser and Node.js
https://aws.amazon.com/developer/language/javascript/
Apache License 2.0
7.59k stars 1.55k forks source link

test: protocol test for serializing lists of values in headers #4643

Closed trivikr closed 3 months ago

trivikr commented 3 months ago

Refs: CR-60315416

Checklist
trivikr commented 3 months ago

CI fails with error:

AWS protocol support rest-xml input Header map with list values case1:
--
345 | AssertionError: expected [ 'a', 'b', 'c' ] to deeply equal 'a,b,c'
346 | at inputCase (test/protocol/protocol.spec.js:126:60)
347 | at Context.<anonymous> (test/protocol/protocol.spec.js:70:26)
348 | at processImmediate (internal/timers.js:461:21)
349 | at process.topLevelDomainCallback (domain.js:138:15)
350 | at process.callbackTrampoline (internal/async_hooks.js:124:14)
trivikr commented 3 months ago

Closing since smithy trait httpPrefixHeaders does not accept list of values. It's not present in protocol test too.