Repository: cloudstack Updated Branches: refs/heads/master cfbbc81a8 -> 0b6996bef
Fixed test_escalations_instances.py - Stop VM before detaching root volumes Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0b6996be Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0b6996be Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0b6996be Branch: refs/heads/master Commit: 0b6996bef61c678d50d2c5550f9d30c327ed0b6c Parents: cfbbc81 Author: Gaurav Aradhye <[email protected]> Authored: Wed Jul 30 19:33:51 2014 +0530 Committer: Girish Shilamkar <[email protected]> Committed: Wed Jul 30 21:35:15 2014 +0530 ---------------------------------------------------------------------- test/integration/component/test_escalations_instances.py | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0b6996be/test/integration/component/test_escalations_instances.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_escalations_instances.py b/test/integration/component/test_escalations_instances.py index c04d37c..c7511e4 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(
