Fix thresholds for increment_till_fail 76/73476/1
authorLuc Provoost <luc.provoost@gmail.com>
Thu, 15 Sep 2022 19:08:39 +0000 (19:08 +0000)
committerLuc Provoost <luc.provoost@gmail.com>
Thu, 15 Sep 2022 19:08:39 +0000 (19:08 +0000)
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

VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py

index 46e69f9..ee8fa67 100644 (file)
@@ -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', \