Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-358

NormalizeNode equals fails when NormalizeNodes being compared contain binary data which is identical

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 2326
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pkajsa Peter Kajsa
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: