X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=testsuites%2Fposca%2Ftestcase_script%2Fposca_factor_rx_cache_size.py;h=97045a1d4f7591639391e4a7f1f8d612ee2c9639;hb=c4e5626d4ecf05a1b72b4bd0ab8f5c83245b0305;hp=cfbd278ef8ba3fdbf68e1cb6489149ced7826333;hpb=b60b5daa668899d528c70c1d4858421eb71e73a6;p=bottlenecks.git diff --git a/testsuites/posca/testcase_script/posca_factor_rx_cache_size.py b/testsuites/posca/testcase_script/posca_factor_rx_cache_size.py index cfbd278e..97045a1d 100644 --- a/testsuites/posca/testcase_script/posca_factor_rx_cache_size.py +++ b/testsuites/posca/testcase_script/posca_factor_rx_cache_size.py @@ -110,7 +110,7 @@ def posca_run(con_dic): bandwidth, latency, cpu_load) if (cpu_load < con_dic['test_cpu_load\ ']) and (latency < con_dic['test_latency']): - if (abs(bandwidth_tmp-bandwidth)/bandwidth < 0.05): + if (abs(bandwidth_tmp - bandwidth) / bandwidth < 0.05): return True else: print("%s,%s") % (bandwidth, test_tx_cache_s_e)