cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/4.2 to ba059dd
Date Thu, 01 Aug 2013 16:54:14 GMT
Updated Branches:
  refs/heads/4.2 35492a366 -> ba059dd0a


CLOUDSTACK-2921: Added more logging to attach failure

Also reduced size of attached disk to 1GB

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ba059dd0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ba059dd0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ba059dd0

Branch: refs/heads/4.2
Commit: ba059dd0ae09f6f7854aef5d14cccb9ce948724b
Parents: 35492a3
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Thu Aug 1 22:23:04 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Thu Aug 1 22:23:04 2013 +0530

----------------------------------------------------------------------
 test/integration/component/test_stopped_vm.py | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ba059dd0/test/integration/component/test_stopped_vm.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py
index cde2bad..e1f5f2e 100644
--- a/test/integration/component/test_stopped_vm.py
+++ b/test/integration/component/test_stopped_vm.py
@@ -65,9 +65,9 @@ class Services:
                     "memory": 128,      # In MBs
                 },
                 "disk_offering": {
-                    "displaytext": "Small volume",
-                    "name": "Small volume",
-                    "disksize": 20
+                    "displaytext": "Tiny volume",
+                    "name": "Tiny volume",
+                    "disksize": 1
                 },
                 "volume": {
                     "diskname": "DataDisk",
@@ -680,9 +680,8 @@ class TestDeployVM(cloudstackTestCase):
         return
 
     @attr(tags = ["advanced", "eip", "advancedns", "basic", "sg"])
-    def test_08_deploy_attach_volume(self):
-        """Test Deploy Virtual Machine with startVM=false and
-            attach volume already attached to different machine
+    def test_08_deploy_attached_volume(self):
+        """Test Deploy Virtual Machine with startVM=false and attach volume already attached
to different machine
         """
 
         # Validate the following:
@@ -794,7 +793,7 @@ class TestDeployVM(cloudstackTestCase):
         try:
             self.virtual_machine_1.attach_volume(self.apiclient, volume)
         except Exception as e:
-            self.fail("Attach volume failed!")
+            self.fail("Attach volume failed with %s!" % e)
 
         volumes = Volume.list(
                               self.apiclient,


Mime
View raw message