aboutsummaryrefslogtreecommitdiffstats
path: root/behave_tests/features/environment.py
diff options
context:
space:
mode:
authorGwenael Lambrouin <gwenael.lambrouin@orange.com>2021-08-31 15:49:40 +0200
committerGwenael Lambrouin <gwenael.lambrouin@orange.com>2021-08-31 15:56:27 +0200
commit1fc8c811a3fe4da2d6bf9c8ec94a9e661fe8b720 (patch)
tree4d7f1f5694f5bc918eaa88aa355ee35bbd2d193e /behave_tests/features/environment.py
parentd31c6da85b6512c104b54e4ced40892d04012c8f (diff)
behave_tests: tweak nfvbench results JSON filename
In case nfvbench packet rate is expressed as a percentage of the max throughput rather than a value in pps or bps, use that percentage to build nfvbench results JSON filename. This is sometimes needed for results post-processing because the percentage information cannot be found in nfvbench results itself. Change-Id: I7d16dba16a733a8ee58a6f80ce4df40cb40e9843 Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
Diffstat (limited to 'behave_tests/features/environment.py')
-rw-r--r--behave_tests/features/environment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/behave_tests/features/environment.py b/behave_tests/features/environment.py
index 61096f6..7621075 100644
--- a/behave_tests/features/environment.py
+++ b/behave_tests/features/environment.py
@@ -73,6 +73,7 @@ def before_scenario(context, scenario):
if loopvm_flavor:
context.json['flavor_type'] = loopvm_flavor
context.synthesis = {}
+ context.percentage_rate = None
context.logger.info('before_scenario: ' + scenario.name)