From 0b6996bef61c678d50d2c5550f9d30c327ed0b6c Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Wed, 30 Jul 2014 19:33:51 +0530 Subject: [PATCH] Fixed test_escalations_instances.py - Stop VM before detaching root volumes --- test/integration/component/test_escalations_instances.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/component/test_escalations_instances.py b/test/integration/component/test_escalations_instances.py index c04d37cf9d7..c7511e470a8 100644 --- a/test/integration/component/test_escalations_instances.py +++ b/test/integration/component/test_escalations_instances.py @@ -2632,6 +2632,9 @@ class TestInstances(cloudstackTestCase): len(list_volumes_page1), "VM's volume count is not matching in page 1" ) + # stopping VM before detaching volumes + vm_created.stop(self.userapiclient) + # Detaching all the volumes attached from VM for i in range(0, len(list_volumes_page1)): vm_created.detach_volume(