aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorAbhijit Sinha <abhijit.sinha@intel.com>2018-05-14 14:31:52 +0100
committerAbhijit Sinha <abhijit.sinha@intel.com>2018-05-15 14:33:51 +0100
commit443b3d4ada33d464bdf59fe1ef0da4c8bf9a8607 (patch)
treed37550831a7199815126559e237e7e5367ff89a6 /yardstick
parent36855392d8f0996ec4565ac409212981ffad6a47 (diff)
Fix PROX throughput result calculation
The success criteria needed a fix for throughput calculation. The results on success criteria were muliplied by 1000*1000 which is not correct and not needed as this was leading to false results in grafana. JIRA: YARDSTICK-1172 Change-Id: I56b24a700f8a565db80897aeab796e7039cae5c9 Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/network_services/traffic_profile/prox_binsearch.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/yardstick/network_services/traffic_profile/prox_binsearch.py b/yardstick/network_services/traffic_profile/prox_binsearch.py
index c3277fb12..7a84f1365 100644
--- a/yardstick/network_services/traffic_profile/prox_binsearch.py
+++ b/yardstick/network_services/traffic_profile/prox_binsearch.py
@@ -116,7 +116,6 @@ class ProxBinSearchProfile(ProxProfile):
self.current_lower = test_value
successful_pkt_loss = result.pkt_loss
samples = result.get_samples(pkt_size, successful_pkt_loss, port_samples)
- samples["TxThroughput"] = samples["TxThroughput"] * 1000 * 1000
# store results with success tag in influxdb
success_samples = {'Success_' + key: value for key, value in samples.items()}