summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-06-17 08:55:00 -0700
committerDan Smith <danms@us.ibm.com>2013-06-17 09:46:00 -0700
commitd73113a52c9317bef143ffc545c42054b67a49dc (patch)
treed4cdc7e6bc45954baea62495054bfb9dfb57e0d7 /nova/utils.py
parent328b347cd058f1c87d7e32a18d9decc0ba517266 (diff)
downloadnova-d73113a52c9317bef143ffc545c42054b67a49dc.tar.gz
nova-d73113a52c9317bef143ffc545c42054b67a49dc.tar.xz
nova-d73113a52c9317bef143ffc545c42054b67a49dc.zip
Fix overzealous conductor test for vol_usage_update
The rest of the conductor tests are pretty unit-esque, in that they don't test the underlying functionality. Rather, they confirm that the various conductor APIs (public, local, rpc, and manger) all agree and that the plumbing between them works as expected. The test_vol_usage_update() test does too much, and as a result, gets all twisted in how it mucks with mox to stub out utcnow() without breaking the base test harness. Unfortunately, it seems to fail quite often, depending on testr ordering, and has been blocking the gate quite a bit lately. This patch refactors that test to be like all the rest of the conductor tests. It also removes the useless mirror test of test_vol_usage_update_again(). Fixes bug 1190971 Change-Id: I815b25f6585786a8dbd5eefcfb39e2b4790641cb
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions