summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorMark Washenberger <mark.washenberger@rackspace.com>2012-02-13 16:04:59 -0500
committerMark Washenberger <mark.washenberger@rackspace.com>2012-02-13 16:04:59 -0500
commit04d38feb65b06d33224d356f6db1b9202532e2ed (patch)
tree2760ef7a9be7dff9d3e4776900ede5e410a47970 /nova/openstack
parent632789c55b505e3a6cf122329eeae6c616077eba (diff)
downloadnova-04d38feb65b06d33224d356f6db1b9202532e2ed.tar.gz
nova-04d38feb65b06d33224d356f6db1b9202532e2ed.tar.xz
nova-04d38feb65b06d33224d356f6db1b9202532e2ed.zip
Use stubs in libvirt/utils get_fs_info test
This test frequently breaks for me because of a race condition where some small change will happen to the file system between when df is called and when os.statvfs is called. By refactoring the test to stubs, we can eliminate the race condition. Note that I do not modify the code under test at all in this change, so the risk of introducing a defect is zero. Change-Id: I83e4b38b25fef7e5e27fcf81b5e5a566406b05dd
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions