]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Correct metadata ordering issue in tests
authorJuan Manuel Olle <juan.m.olle@intel.com>
Fri, 21 Mar 2014 19:46:03 +0000 (16:46 -0300)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 14:08:51 +0000 (22:08 +0800)
commit2001946a0279e98b85d78a4991f4d4a728920eba
tree7e2d50b47485af0b163afabb742d370a7d332684
parent1f0f318f944f6e8012818a6483bc2898cb19e7d9
Correct metadata ordering issue in tests

Some test including test_volume_get_all_filters
fails randomly because metadata is in a dict and
the items order is undefined.
The test comparison was changed to avoid unexpected
test results.

Change-Id: Ibb24d21cd05aa1eefb45b61c63de067b34fb1013
Closes-Bug: #1293792
(cherry picked from commit 4cc2366623743393f89a198581fcb69dc04d31cd)
cinder/tests/test_db_api.py