You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2026/08/06 16:32:00 UTC
[jira] [Resolved] (PROTON-2946) Interop round trip tests should use a semantic comparison
[ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org