The get_flavors unit test sometimes fails as the list can
come back in a different order. This causes the json comparison
to inacurately claim that the content is different. Since
we don't care what order the json data is stored, this
comparison is now done on a sorted data set.
Reviewed: https:/ /review. openstack. org/223200 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=7a9e02a1fa5 0fdccf0d06e9706 a4bec25f127c5c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7a9e02a1fa50fdc cf0d06e9706a4be c25f127c5c
Author: Peter Stachowski <email address hidden>
Date: Mon Sep 14 11:29:12 2015 -0400
Fix get_flavors test by sorting json output
The get_flavors unit test sometimes fails as the list can
come back in a different order. This causes the json comparison
to inacurately claim that the content is different. Since
we don't care what order the json data is stored, this
comparison is now done on a sorted data set.
Closes-Bug: #1437179 ce124210f2b6a21 36dfc573a29
Change-Id: I92eaa1c98f5a58