You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/07/23 14:32:54 UTC

[2/3] git commit: updated refs/heads/4.2 to 6b2c9bf

CLOUDSTACK-3728:  same issue as CLOUDSTACK-3719

Make the size explicit parameter to random_gen() for snapshot data

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f05118b5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f05118b5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f05118b5

Branch: refs/heads/4.2
Commit: f05118b5b0ba8679a276dfcb5033a62efe059211
Parents: e2f2bc5
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Tue Jul 23 14:04:03 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Tue Jul 23 18:00:23 2013 +0530

----------------------------------------------------------------------
 test/integration/component/test_snapshots.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f05118b5/test/integration/component/test_snapshots.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py
index 18dcefd..7b480e5 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