diff options
| author | Michael Still <michael.still@canonical.com> | 2012-12-06 14:04:51 +1100 |
|---|---|---|
| committer | Michael Still <michael.still@canonical.com> | 2012-12-07 12:50:33 +1100 |
| commit | e28d7870fa8633fddd5fe92d2fbcc34ae392bd85 (patch) | |
| tree | c0b3e35af69436f969e036b9c65f1a0a23bd3436 /nova/tests | |
| parent | f495b95d0ee28141bd067ca64a0176189f5d8293 (diff) | |
Simplify how ephemeral disks are created and named.
Resolves bug 1087028.
Change-Id: Ife7ec43cf76cf04a98f1db2135f9149a2eefb55d
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_libvirt.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index 5df7d920d..872c0498d 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -2295,6 +2295,9 @@ class LibvirtConnTestCase(test.TestCase): self.stubs.Set(imagebackend.Image, 'cache', fake_none) + self.stubs.Set(libvirt_driver.LibvirtDriver, + '_create_ephemeral', + fake_none) conn.spawn(self.context, instance, None, [], 'herp', network_info=network_info) |
