diff options
| author | Jenkins <jenkins@review.openstack.org> | 2011-12-13 21:32:18 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2011-12-13 21:32:18 +0000 |
| commit | ceb575d70d9e9acd414d29bb7cc9b93523fabd79 (patch) | |
| tree | 05451241522962a8240ba65421f6afaa26674db8 /nova/tests | |
| parent | f597dc5548d66530e68ff5809ac2c56b7edbc6d8 (diff) | |
| parent | 6b6633521c57422dfcdd1c0fbd8004c01bbe99cc (diff) | |
Merge "bug 899767: fix vif-plugging with live migration"
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_compute.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/test_compute.py b/nova/tests/test_compute.py index abe21db91..1e5cc8ee9 100644 --- a/nova/tests/test_compute.py +++ b/nova/tests/test_compute.py @@ -1134,6 +1134,8 @@ class ComputeTestCase(BaseTestCase): rpc.call(c, db.queue_get_for(c, FLAGS.compute_topic, dest), {"method": "post_live_migration_at_destination", "args": {'instance_id': i_ref['id'], 'block_migration': False}}) + self.mox.StubOutWithMock(self.compute.driver, 'unplug_vifs') + self.compute.driver.unplug_vifs(i_ref, []) # start test self.mox.ReplayAll() |
