[YANGTOOLS-358] NormalizeNode equals fails when NormalizeNodes being compared contain binary data which is identical Created: 05/Nov/14  Updated: 10/Apr/22  Resolved: 18/Nov/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Peter Kajsa
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2326
Priority: Normal

 Description   

The simples way to test this is to have a model which contains a leaf of type binary. Construct 2 NormalizedNode instances using this model with exactly the same binary content - note that the byte arrays used should be identical in content but the instances of the byte array should be different.

After constructing the NormalizedNodes an assertEquals on these two NormalizedNodes fails.



 Comments   
Comment by Peter Kajsa [ 11/Nov/14 ]

fix: https://git.opendaylight.org/gerrit/#/c/12760/

Generated at Wed Feb 07 20:52:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.