From 836ffbd489f28a1d370cb1003bd8d62de4783351 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 29 May 2012 17:10:09 -0400 Subject: 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 --- nova/tests/compute/test_rpcapi.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/tests') 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') -- cgit