summaryrefslogtreecommitdiffstats
path: root/nova/tests/scheduler/test_rpcapi.py
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2012-08-08 21:09:14 +0000
committerChris Behrens <cbehrens@codestud.com>2012-08-08 22:49:27 +0000
commit10a5f1ac025f89f84398be308455b72d77602cc3 (patch)
tree39daef4810ec46b84940ce0f78f6d03d133386de /nova/tests/scheduler/test_rpcapi.py
parent28a03d9aded97732038eadd5bbcb21282f1b246a (diff)
downloadnova-10a5f1ac025f89f84398be308455b72d77602cc3.tar.gz
nova-10a5f1ac025f89f84398be308455b72d77602cc3.tar.xz
nova-10a5f1ac025f89f84398be308455b72d77602cc3.zip
scheduler prep_resize should not update instance['host']
This is done by the manager once things are ready on the destination compute node. Fixes bug 1034593 Also removes now-unneeded update_db argument passed via rpcapi and bumps scheduler rpcapi version for prep_resize to 1.4 Change-Id: I0ac3be39877f3afcf42f5996d0da90042fe7c6e3
Diffstat (limited to 'nova/tests/scheduler/test_rpcapi.py')
-rw-r--r--nova/tests/scheduler/test_rpcapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/scheduler/test_rpcapi.py b/nova/tests/scheduler/test_rpcapi.py
index ff17d9183..109ff36a3 100644
--- a/nova/tests/scheduler/test_rpcapi.py
+++ b/nova/tests/scheduler/test_rpcapi.py
@@ -84,8 +84,8 @@ class SchedulerRpcAPITestCase(test.TestCase):
self._test_scheduler_api('prep_resize', rpc_method='cast',
instance='fake_instance',
instance_type='fake_type', image='fake_image',
- update_db='fake_update_db', request_spec='fake_request_spec',
- filter_properties='fake_props', version='1.1')
+ request_spec='fake_request_spec',
+ filter_properties='fake_props', version='1.4')
def test_show_host_resources(self):
self._test_scheduler_api('show_host_resources', rpc_method='call',