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>
This commit is contained in:
Prasanna Santhanam 2013-07-23 11:37:41 +05:30
parent 73e896fd3c
commit c319ba3ba7
1 changed files with 1 additions and 1 deletions

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,