mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3728: same issue as CLOUDSTACK-3719
Make the size explicit parameter to random_gen() for snapshot data Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
e2f2bc5f0b
commit
f05118b5b0
|
|
@ -375,8 +375,8 @@ class TestSnapshots(cloudstackTestCase):
|
|||
#6. Mount/Attach volume to another server
|
||||
#7. Compare data
|
||||
|
||||
random_data_0 = random_gen(100)
|
||||
random_data_1 = random_gen(100)
|
||||
random_data_0 = random_gen(size=100)
|
||||
random_data_1 = random_gen(size=100)
|
||||
|
||||
volume = Volume.create(
|
||||
self.apiclient,
|
||||
|
|
@ -644,8 +644,8 @@ class TestSnapshots(cloudstackTestCase):
|
|||
"Check list response returns a valid list"
|
||||
)
|
||||
volume = volumes[0]
|
||||
random_data_0 = random_gen(100)
|
||||
random_data_1 = random_gen(100)
|
||||
random_data_0 = random_gen(size=100)
|
||||
random_data_1 = random_gen(size=100)
|
||||
try:
|
||||
ssh_client = self.virtual_machine.get_ssh_client()
|
||||
|
||||
|
|
@ -838,8 +838,8 @@ class TestSnapshots(cloudstackTestCase):
|
|||
#5. Login to newly created virtual machine
|
||||
#6. Compare data
|
||||
|
||||
random_data_0 = random_gen(100)
|
||||
random_data_1 = random_gen(100)
|
||||
random_data_0 = random_gen(size=100)
|
||||
random_data_1 = random_gen(size=100)
|
||||
|
||||
try:
|
||||
#Login to virtual machine
|
||||
|
|
|
|||
Loading…
Reference in New Issue