From 3c5243ba737d516528a5a34aaa93294bdf9dce07 Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Thu, 15 Sep 2022 19:08:39 +0000 Subject: 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 Change-Id: I8347a683f35f8fd2ff26161709bf0bd16387f2e0 --- VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'VNFs') 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', \ -- cgit 1.2.3-korg