mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
7dec27e844
commit
4585e46a35
@ -120,7 +120,7 @@ class TestVmSnapshot(cloudstackTestCase):
|
|||||||
serviceofferingid=cls.service_offering.id,
|
serviceofferingid=cls.service_offering.id,
|
||||||
mode=cls.services["mode"]
|
mode=cls.services["mode"]
|
||||||
)
|
)
|
||||||
cls.random_data_0 = random_gen(100)
|
cls.random_data_0 = random_gen(size=100)
|
||||||
cls._cleanup = [
|
cls._cleanup = [
|
||||||
cls.service_offering,
|
cls.service_offering,
|
||||||
cls.account,
|
cls.account,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user