projects
/
kamaki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98fe30
)
Fix pithos testcase that runs out of memory
author
Dionysis Zindros
<dionyziz@gmail.com>
Tue, 4 Dec 2012 16:46:48 +0000
(11:46 -0500)
committer
Dionysis Zindros
<dionyziz@gmail.com>
Tue, 4 Dec 2012 16:46:48 +0000
(11:46 -0500)
kamaki/clients/tests.py
patch
|
blob
|
history
diff --git
a/kamaki/clients/tests.py
b/kamaki/clients/tests.py
index
62e93f0
..
b9a4adc
100644
(file)
--- a/
kamaki/clients/tests.py
+++ b/
kamaki/clients/tests.py
@@
-2313,7
+2313,7
@@
class testPithos(unittest.TestCase):
f = open(self.fname, 'w')
sys.stdout.write(
' create random file %s of size %s ' % (name, size))
- for hobyte_id in range(size / 8):
+ for hobyte_id in xrange(size / 8):
#sss = 'hobt%s' % random.randint(1000, 9999)
f.write(rf.read(8))
if 0 == (hobyte_id * 800) % size: