summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-05-29 17:10:09 -0400
committerRussell Bryant <rbryant@redhat.com>2012-05-31 15:19:31 -0400
commit836ffbd489f28a1d370cb1003bd8d62de4783351 (patch)
tree3d5d1b555fd4265d9d4bb7fe41f152c92bb88177 /nova/tests
parent0db055b9b3e5e74d229b38df06408166b53069b7 (diff)
Add finish_revert_resize() to the compute rpcapi.
Part of bug 1006467. This method is used by the compute manager itself. Add it to the rpcapi and use it from there. Change-Id: I7fcab5b0b498318377a1a108e2eeb4db1ae1e4ea
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/compute/test_rpcapi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/tests/compute/test_rpcapi.py b/nova/tests/compute/test_rpcapi.py
index de9d337f9..47c986c71 100644
--- a/nova/tests/compute/test_rpcapi.py
+++ b/nova/tests/compute/test_rpcapi.py
@@ -104,6 +104,10 @@ class ComputeRpcAPITestCase(test.TestCase):
self._test_compute_api('detach_volume', 'cast',
instance=self.fake_instance, volume_id='id')
+ def test_finish_revert_resize(self):
+ self._test_compute_api('finish_revert_resize', 'cast',
+ instance=self.fake_instance, migration_id='id', host='host')
+
def test_get_console_output(self):
self._test_compute_api('get_console_output', 'call',
instance=self.fake_instance, tail_length='tl')