From 4585e46a35aa4064f1a3c3544d1a6c82bfab9c37 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Tue, 23 Jul 2013 11:37:41 +0530 Subject: [PATCH] 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 (cherry picked from commit 5bb3a56acac440b022ed6c45f97d0d85dcc94b96) --- test/integration/smoke/test_vm_snapshots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_vm_snapshots.py b/test/integration/smoke/test_vm_snapshots.py index dd709828a60..b49a37c45b6 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,