Code Review
/
integration
/
test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make pep8 more picky
[integration/test.git]
/
tools
/
odl-mdsal-clustering-tests
/
clustering-performance-test
/
inventory_perf.py
diff --git
a/tools/odl-mdsal-clustering-tests/clustering-performance-test/inventory_perf.py
b/tools/odl-mdsal-clustering-tests/clustering-performance-test/inventory_perf.py
index 1309fefab78b190398e97800e5123cd90701631b..289624ddd5a4243b7400a258c2a23c6862b2a62c 100644
(file)
--- a/
tools/odl-mdsal-clustering-tests/clustering-performance-test/inventory_perf.py
+++ b/
tools/odl-mdsal-clustering-tests/clustering-performance-test/inventory_perf.py
@@
-84,12
+84,12
@@
def get_inventory(tnum, url, hdrs, rnum, cond):
results[r.status_code] = 1
total = sum(results.values())
results[r.status_code] = 1
total = sum(results.values())
- rate = total
/
t.secs
+ rate = total
/
t.secs
total_requests.increment(total)
total_req_rate.increment(rate)
total_requests.increment(total)
total_req_rate.increment(rate)
- mbytes = total_len / (1024
*
1024)
- mrate = mbytes
/
t.secs
+ mbytes = total_len / (1024
*
1024)
+ mrate = mbytes
/
t.secs
total_mbytes.increment(mbytes)
total_mb_rate.increment(mrate)
total_mbytes.increment(mbytes)
total_mb_rate.increment(mrate)