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)
This commit is contained in:
Prasanna Santhanam 2013-07-23 11:37:41 +05:30
parent 7dec27e844
commit 4585e46a35

View File

@ -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,