summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2012-07-09 21:49:03 +0000
committerRick Harris <rconradharris@gmail.com>2012-07-16 11:49:15 -0400
commitf5583a7840947c9eb5b0fb766daecc4e99dd95fe (patch)
treeda43a5d144cffa4ed3c0f687ce0d19cad5c94674 /nova/tests
parent57e4ee833d1897b5114be193be3b6f7fa38f49bf (diff)
Remove VDI chain limit for migrations.
The strategy for removing the limit is to refactor migration so that they work nearly identically to snapshots, meaning sequence-numbered VHDs are rsynced over into a staging-area and then imported into the SR using the `import_vhds` function. Change-Id: Ibf5c82c52ae7d505ea9e54d64fcc8b8fdce4d05d
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/xenapi/stubs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py
index ec944d84d..483356424 100644
--- a/nova/tests/xenapi/stubs.py
+++ b/nova/tests/xenapi/stubs.py
@@ -346,7 +346,7 @@ def stub_out_migration_methods(stubs):
pass
stubs.Set(vmops.VMOps, '_destroy', fake_destroy)
- stubs.Set(vmops.VMOps, '_move_disks', fake_move_disks)
+ stubs.Set(vm_utils, 'move_disks', fake_move_disks)
stubs.Set(vm_utils, 'scan_default_sr', fake_sr)
stubs.Set(vm_utils, '_scan_sr', fake_sr)
stubs.Set(vm_utils, 'snapshot_attached_here', fake_snapshot_attached_here)