Descriptionstate: added add/get deep equivalence test
The equivalence tested isn't necessarily correct, and
comparing private details is discouraged in the project.
The implementation might choose to cache information, or
to have different logic when adding or removing, and the
comparison might fail despite it being correct.
That said, we've had bugs with txn-revno being incorrect
before, so this testing at least ensures we're conscious
about such changes.
https://code.launchpad.net/~niemeyer/juju-core/add-get-equivalence/+merge/126318
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state: added add/get deep equivalence test #
MessagesTotal messages: 3
|