diff options
| author | Mark Washenberger <mark.washenberger@rackspace.com> | 2012-02-13 16:04:59 -0500 |
|---|---|---|
| committer | Mark Washenberger <mark.washenberger@rackspace.com> | 2012-02-13 16:04:59 -0500 |
| commit | 04d38feb65b06d33224d356f6db1b9202532e2ed (patch) | |
| tree | 2760ef7a9be7dff9d3e4776900ede5e410a47970 /nova/openstack | |
| parent | 632789c55b505e3a6cf122329eeae6c616077eba (diff) | |
| download | nova-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
