]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix order dependency of admin metadata
authorZhiteng Huang <zhithuang@ebaysf.com>
Fri, 20 Jun 2014 03:48:28 +0000 (11:48 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Fri, 20 Jun 2014 03:48:28 +0000 (11:48 +0800)
commitc3240b96e84adda494ce08ce05f8ea81d1f158e4
tree770a85de7ee81c28f2d7e121b9751010d38b23c6
parent6896f5fa6055a83e2aaa873c279ff54729587d6c
Fix order dependency of admin metadata

Some test cases in VolumeTestCase depends on the order of admin metadata
returned from db.volume_get() call, which causes jenkins test failure in
recent reviews.  This change extracts the key/value we are intertested in
and compare them with AssertDictMatch() to remove the order dependency.

Change-Id: I2719c025436304cabab54f19a6ce314842d8785b
Closes-bug: # 1332388
cinder/tests/test_volume.py