From a83bfa57d0e9b8ff9598de4f61d0f19955608d28 Mon Sep 17 00:00:00 2001 From: Doug Clark Date: Thu, 22 May 2014 15:13:49 +0000 Subject: [PATCH] Add the shrinkok flag to allow volume shrinking in resize tests Signed-off-by: SrikanteswaraRao Talluri (cherry picked from commit 960b4d1896119c94dcba6670de92cd8791320891) --- test/integration/smoke/test_volumes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/smoke/test_volumes.py b/test/integration/smoke/test_volumes.py index 411ecf11a65..d68359ec4bc 100644 --- a/test/integration/smoke/test_volumes.py +++ b/test/integration/smoke/test_volumes.py @@ -720,6 +720,7 @@ class TestVolumes(cloudstackTestCase): cmd = resizeVolume.resizeVolumeCmd() cmd.id = rootvolume.id cmd.size = 10 + cmd.shrinkok = "true" self.apiClient.resizeVolume(cmd)