[
https://issues.apache.org/jira/browse/PROTON-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher resolved PROTON-2946.
-------------------------------------
Resolution: Fixed
> 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
> Affects Versions: proton-c-0.40.0
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.41.0
>
>
> 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]