MLRsearch: Increase timeout to 20 minutes 52/33852/1
authorVratko Polak <vrpolak@cisco.com>
Tue, 28 Sep 2021 13:58:53 +0000 (15:58 +0200)
committerVratko Polak <vrpolak@cisco.com>
Wed, 29 Sep 2021 08:00:02 +0000 (08:00 +0000)
There are sporadic failures due to timeout.
An earlier edit changed how the timeout is applied
(now it is for the whole search, previously it was for final phase only)
so failures are not unexpected.

Increasing timeout value from 12 minutes to 20 minutes
(both for NDRPDR and for NDR part of RECONF)
as the frequency shows it will not prolong runs much.

The timeout is increased both in Robot call site
and in Python keyword default argument.

Change-Id: I3f07125ba9eeb90ce5819b1450044441b8b3977a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 31df68a76b1f9ce981a4fa28fe79ba9c1af458b4)

resources/libraries/python/TrafficGenerator.py
resources/libraries/robot/performance/performance_utils.robot

index a26d0fa..b2748f7 100644 (file)
@@ -1465,7 +1465,7 @@ class OptimizedSearch:
             final_trial_duration=30.0,
             initial_trial_duration=1.0,
             number_of_intermediate_phases=2,
-            timeout=720.0,
+            timeout=1200.0,
             ppta=1,
             resetter=None,
             traffic_directions=2,
index 33bd31f..8de74c5 100644 (file)
 | | ... | final_trial_duration=${30.0}
 | | ... | initial_trial_duration=${1.0}
 | | ... | number_of_intermediate_phases=${2}
-| | ... | timeout=${720.0}
+| | ... | timeout=${1200.0}
 | | ... | ppta=${ppta}
 | | ... | resetter=${resetter}
 | | ... | traffic_directions=${traffic_directions}
 | | ... | final_trial_duration=${10.0}
 | | ... | initial_trial_duration=${1.0}
 | | ... | number_of_intermediate_phases=${1}
-| | ... | timeout=${720}
+| | ... | timeout=${1200}
 | | ... | ppta=${ppta}
 | | ... | resetter=${resetter}
 | | ... | traffic_directions=${traffic_directions}