summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2020-11-16 13:43:14 +0100
committerLuc Provoost <luc.provoost@intel.com>2020-11-18 15:44:48 +0100
commite2ce11c54f2f64df472c64bcf03c9f858e79b835 (patch)
tree562b2e1d1d1527a9f68e089ce5bccb2f020cd189 /VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py
parent5de20bff8792a736dabf5e48be8e14154ab4f7cc (diff)
Support for xtesting
Some files were added to for rapid testing in the xtesting framework Change-Id: Id912789c5007ca8390a67fb5b359296089aa9618 Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py
index be7afb38..73b41a6f 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py
@@ -256,7 +256,7 @@ class RapidTest(object):
RapidLog.info(self.report_result(flow_number,size,speed,None,None,None,None,lat_avg,sample_percentile,percentile_max,lat_max, dp_tx, dp_rx , None, None))
tot_rx = tot_non_dp_rx = tot_tx = tot_non_dp_tx = tot_drop = 0
lat_avg = used_avg = 0
- buckets_total = [buckets[i] for i in range(len(buckets))]
+ buckets_total = buckets
tot_lat_samples = sum(buckets)
tot_lat_measurement_duration = float(0)
tot_core_measurement_duration = float(0)