- ${count} = Builtin.Convert_To_Integer ${COUNT_CHANGE_COUNT}
- # TODO: Replace 20 with some formula from period and repetitions.
- Builtin.Set_Suite_Variable ${bgp_filling_timeout} ${count*3/10000+20}
- Builtin.Set_Suite_Variable ${bgp_emptying_timeout} ${bgp_filling_timeout*3/4}
- # Timeout in case of doubled number of updates per iteration (per prefix count increase in the simplest mixed scenario)
- Builtin.Run_Keyword_If '${UPDATE}' == 'mixed' Builtin.Set_Suite_Variable ${bgp_filling_timeout} ${count*6/10000+20}
- KarafKeywords.Execute_Controller_Karaf_Command_On_Background log:set ${CONTROLLER_LOG_LEVEL}
- KarafKeywords.Execute_Controller_Karaf_Command_On_Background log:set ${CONTROLLER_BGP_LOG_LEVEL} org.opendaylight.bgpcep
- KarafKeywords.Execute_Controller_Karaf_Command_On_Background log:set ${CONTROLLER_BGP_LOG_LEVEL} org.opendaylight.protocol
+ # TODO: Unify formulas with other suites in this directory.
+ ${timeout} = BuiltIn.Evaluate ${TEST_DURATION_MULTIPLIER_CHANGE_COUNT_SINGLE} * (${COUNT_CHANGE_COUNT_SINGLE} * 3.0 / 10000 + 20)
+ Builtin.Set_Suite_Variable ${bgp_filling_timeout} ${timeout}
+ Builtin.Set_Suite_Variable ${bgp_emptying_timeout} ${bgp_filling_timeout*3.0/4}
+ KarafKeywords.Execute_Controller_Karaf_Command_On_Background log:set ${KARAF_LOG_LEVEL}