Partial fix for Bug 1256
authorColin Dixon <colin@colindixon.com>
Sun, 29 Jun 2014 20:19:44 +0000 (15:19 -0500)
committerColin Dixon <colin@colindixon.com>
Mon, 30 Jun 2014 00:14:13 +0000 (19:14 -0500)
commita145565f3205e6c6df6f10c18527f2a7594a240e
treed44576b9b994a88ce7bde19a2395d025270a62e2
parent4029efa3313f4290ccde353d230528933dc270bb
Partial fix for Bug 1256

Patch 0e12a849d33ae3ca3d1a8e2e281e6eac2cc13373 introduced a test for data normalization
that contained comparators for two kinds of nodes (LegacyNodeData) and (Node<?>) that
provided only a partial ordering of nodes and also failed to obey the semantics of
comparators when it comes to equality.

The result is that several tests were not fully specified and while the appear to run
correctly on Windows and Linux, on recent MacOS versions the ambiguity caused the tests
to fail.

This patch fixes the problem as long as only SimpleNodes and CompositeNodes are used.

Change-Id: If5175025fb97e7b8ddb799b27ad7ae9b5026172d
Signed-off-by: Colin Dixon <colin@colindixon.com>
opendaylight/md-sal/sal-common-impl/src/test/java/org/opendaylight/controller/md/sal/common/impl/util/compat/DataNormalizerTest.java