From 823989a381138e8acc63995402597b08114c935e Mon Sep 17 00:00:00 2001 From: Avishay Traeger Date: Thu, 20 Jun 2013 07:48:51 +0300 Subject: [PATCH] Add missing extend volume test (rpcapi). Add test that was missing to test the volume rpcapi call for extend_volume. Change-Id: Idffc18cad60afe6e8864fd93d36f9ec23a402b73 --- cinder/tests/test_volume_rpcapi.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cinder/tests/test_volume_rpcapi.py b/cinder/tests/test_volume_rpcapi.py index e4cfee737..812f927c7 100644 --- a/cinder/tests/test_volume_rpcapi.py +++ b/cinder/tests/test_volume_rpcapi.py @@ -177,3 +177,10 @@ class VolumeRpcAPITestCase(test.TestCase): rpc_method='cast', volume=self.fake_volume, version='1.5') + + def test_extend_volume(self): + self._test_volume_api('extend_volume', + rpc_method='cast', + volume=self.fake_volume, + new_size=1, + version='1.6') -- 2.45.2