From f05118b5b0ba8679a276dfcb5033a62efe059211 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Tue, 23 Jul 2013 14:04:03 +0530 Subject: [PATCH] CLOUDSTACK-3728: same issue as CLOUDSTACK-3719 Make the size explicit parameter to random_gen() for snapshot data Signed-off-by: Prasanna Santhanam --- test/integration/component/test_snapshots.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py index 18dcefd7672..7b480e57397 100644 --- a/test/integration/component/test_snapshots.py +++ b/test/integration/component/test_snapshots.py @@ -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