diff options
author | Luc Provoost <luc.provoost@intel.com> | 2020-11-16 13:43:14 +0100 |
---|---|---|
committer | Luc Provoost <luc.provoost@intel.com> | 2020-11-18 15:44:48 +0100 |
commit | e2ce11c54f2f64df472c64bcf03c9f858e79b835 (patch) | |
tree | 562b2e1d1d1527a9f68e089ce5bccb2f020cd189 /VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py | |
parent | 5de20bff8792a736dabf5e48be8e14154ab4f7cc (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_parser.py')
-rw-r--r-- | VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py index 992d2d0a..29d87556 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py @@ -24,6 +24,7 @@ except ImportError: # Python 2.x fallback import ConfigParser as configparser import ast +inf = float("inf") class RapidConfigParser(object): """ @@ -84,7 +85,7 @@ class RapidConfigParser(object): latency_thresholds = ['lat_avg_threshold','lat_perc_threshold','lat_max_threshold'] for threshold in latency_thresholds: if threshold not in test.keys(): - test[threshold] = 'inf' + test[threshold] = inf test_params['tests'] = tests if test_params['required_number_of_test_machines'] > test_params[ 'total_number_of_machines']: |