Andrew Stitcher created PROTON-2946:
---------------------------------------
Summary: Interop round trip tests should use a semantic comparison
Key: PROTON-2946
URL: https://issues.apache.org/jira/browse/PROTON-2946
Project: Qpid Proton
Issue Type: Improvement
Components: proton-c
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher
There are multiple correct on-the-wire encodings of lists, arrays, maps,
strings and bytes for the same data if the size fits in 255 bytes. The current
interop round trip doesn't take into account that an input large encoding
could encode to a small encoding if it has few enough elements and is small
enough.
We'll check this by creating a canonical text representation of both input and
output and comparing them instead of the raw bytes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]