From 18108a0143df0847fe1a4b105b787ca9ca76f422 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 29 May 2012 18:12:49 -0400 Subject: Add finish_resize() to the compute rpcapi. Part of bug 1006467. This patch adds the finish_resize() method to the compute rpcapi. It is used by the compute manager. Change-Id: I989bc70c1af44001a095e64b8abde05a0f99964d --- nova/tests/compute/test_rpcapi.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nova/tests') diff --git a/nova/tests/compute/test_rpcapi.py b/nova/tests/compute/test_rpcapi.py index 8d78f3a64..cb50bc39a 100644 --- a/nova/tests/compute/test_rpcapi.py +++ b/nova/tests/compute/test_rpcapi.py @@ -104,6 +104,11 @@ class ComputeRpcAPITestCase(test.TestCase): self._test_compute_api('detach_volume', 'cast', instance=self.fake_instance, volume_id='id') + def test_finish_resize(self): + self._test_compute_api('finish_resize', 'cast', + instance=self.fake_instance, migration_id='id', + image='image', disk_info='disk_info', host='host') + def test_finish_revert_resize(self): self._test_compute_api('finish_revert_resize', 'cast', instance=self.fake_instance, migration_id='id', host='host') -- cgit