projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4d452b
)
test/lockperf: Use a list of integers, not booleans
author
Michael Hanselmann
<hansmi@google.com>
Thu, 22 Dec 2011 15:00:53 +0000
(16:00 +0100)
committer
Michael Hanselmann
<hansmi@google.com>
Thu, 22 Dec 2011 15:04:00 +0000
(16:04 +0100)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
test/lockperf.py
patch
|
blob
|
history
diff --git
a/test/lockperf.py
b/test/lockperf.py
index
dddd019
..
5128c33
100755
(executable)
--- a/
test/lockperf.py
+++ b/
test/lockperf.py
@@
-59,7
+59,7
@@
class State:
"""Initializes this class.
"""
- self.verify = [False for _ in range(thread_count)]
+ self.verify = [0 for _ in range(thread_count)]
self.counts = [0 for _ in range(thread_count)]
self.total_count = 0