X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tools%2Fodl-mdsal-clustering-tests%2Fclustering-performance-test%2Finventory_perf.py;h=289624ddd5a4243b7400a258c2a23c6862b2a62c;hb=9a1a86700fb341c0f5f0700c5024da7975fd60ec;hp=1309fefab78b190398e97800e5123cd90701631b;hpb=7ef28e701bb30353fe438e97c635e05130f23b84;p=integration%2Ftest.git 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 1309fefab7..289624ddd5 100644 --- 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()) - rate = total/t.secs + rate = total / t.secs 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)