From 074ad5ea0e47193adcbcbc93d1bc2919d1c229f3 Mon Sep 17 00:00:00 2001 From: Boris Date: Tue, 27 Jun 2017 14:20:41 +0300 Subject: [PATCH] CLOUDSTACK-9979 - Fix test_volumes.py test --- test/integration/smoke/test_volumes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_volumes.py b/test/integration/smoke/test_volumes.py index 28087b11262..fca65f2841c 100644 --- a/test/integration/smoke/test_volumes.py +++ b/test/integration/smoke/test_volumes.py @@ -245,7 +245,7 @@ class TestCreateVolume(cloudstackTestCase): elif list_volume_response[0].hypervisor.lower() == "hyperv": ret = checkVolumeSize(ssh_handle=ssh,volume_name="/dev/sdb",size_to_verify=vol_sz) else: - ret = checkVolumeSize(ssh_handle=ssh,size_to_verify=vol_sz) + ret = checkVolumeSize(ssh_handle=ssh,volume_name="/dev/sdb",size_to_verify=vol_sz) self.debug(" Volume Size Expected %s Actual :%s" %(vol_sz,ret[1])) self.virtual_machine.detach_volume(self.apiClient, volume) self.assertEqual(ret[0],SUCCESS,"Check if promised disk size actually available")