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/master to 4585e46
Date Tue, 23 Jul 2013 06:09:19 GMT
Updated Branches:
  refs/heads/master 7dec27e84 -> 4585e46a3


CLOUDSTACK-3719: wrong declaration of random_gen call

since random_gen can take an id to prepend a testcase identifier to the
created cloud resource, we need to explicitly specify the size param. In
vmsnapshot test create the random_data string of size (100)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5bb3a56acac440b022ed6c45f97d0d85dcc94b96)


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

Branch: refs/heads/master
Commit: 4585e46a35aa4064f1a3c3544d1a6c82bfab9c37
Parents: 7dec27e
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Tue Jul 23 11:37:41 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue Jul 23 11:39:08 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_vm_snapshots.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4585e46a/test/integration/smoke/test_vm_snapshots.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_vm_snapshots.py b/test/integration/smoke/test_vm_snapshots.py
index dd70982..b49a37c 100644
--- a/test/integration/smoke/test_vm_snapshots.py
+++ b/test/integration/smoke/test_vm_snapshots.py
@@ -120,7 +120,7 @@ class TestVmSnapshot(cloudstackTestCase):
                     serviceofferingid=cls.service_offering.id,
                     mode=cls.services["mode"]
                     )
-        cls.random_data_0 = random_gen(100)
+        cls.random_data_0 = random_gen(size=100)
         cls._cleanup = [
                 cls.service_offering,
                 cls.account,


Mime
View raw message