summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@gmail.com>2022-09-15 19:08:39 +0000
committerLuc Provoost <luc.provoost@gmail.com>2022-09-15 19:08:39 +0000
commit3c5243ba737d516528a5a34aaa93294bdf9dce07 (patch)
tree7963152e9c63979bfb92380bddcc30d61cb3feaa
parent9abafd4bbe0c1b92ceaa01a49b77f7e40c4f57e7 (diff)
Fix thresholds for increment_till_fail
The thresholds that define a successful step of the binary search, were not read from the test file or initialised to the default value in case of the increment_till_fail test. Signed-off-by: Luc Provoost <luc.provoost@gmail.com> Change-Id: I8347a683f35f8fd2ff26161709bf0bd16387f2e0
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py2
1 files changed, 1 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 46e69f95..ee8fa67f 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py
@@ -99,7 +99,7 @@ class RapidConfigParser(object):
test[option] = testconfig.get(section, option)
tests.append(dict(test))
for test in tests:
- if test['test'] in ['flowsizetest','TST009test']:
+ if test['test'] in ['flowsizetest', 'TST009test', 'increment_till_fail']:
if 'drop_rate_threshold' not in test.keys():
test['drop_rate_threshold'] = 0
thresholds = ['generator_threshold','lat_avg_threshold', \