diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-05-29 18:12:49 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-05-31 15:19:31 -0400 |
| commit | 18108a0143df0847fe1a4b105b787ca9ca76f422 (patch) | |
| tree | 8c320e0a7600a22e20f2bb1c6e099df4d4f13b06 /nova/tests | |
| parent | 72550284ee6cdbda9c1a6762deb140b670634d2f (diff) | |
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
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/compute/test_rpcapi.py | 5 |
1 files changed, 5 insertions, 0 deletions
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') |
