From 6f7c44451d9f4939ebbbfe199598aac108070b9a Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 13 May 2021 12:38:53 +0200 Subject: [PATCH] ns_lib: update scaling timeout with the env modifier OSM_VIM_MULTIPLIER_TIMEOUT Change-Id: Ie8dfad05c42d2a962659dc5ad74b3f5290307aec Signed-off-by: garciadeblas --- robot-systest/lib/ns_lib.robot | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index c81e33f..8acdb46 100644 --- a/robot-systest/lib/ns_lib.robot +++ b/robot-systest/lib/ns_lib.robot @@ -17,7 +17,6 @@ ${ns_delete_max_wait_time} 4min ${ns_delete_pol_time} 15sec ${ns_action_max_wait_time} 1min ${ns_action_pol_time} 15sec -${vnf_scale_max_wait_time} 2min ${vnf_scale_pol_time} 15sec @@ -193,8 +192,10 @@ Execute Manual VNF Scale ... The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. ... Return the ID of the operation associated to the executed scale action. - [Arguments] ${ns_name} ${vnf_member_index} ${scaling_group} ${scale_type} + [Arguments] ${ns_name} ${vnf_member_index} ${scaling_group} ${scale_type} ${vnf_scale_max_wait_time}=2min + ${vnf_scale_max_wait_time}= Convert Time ${vnf_scale_max_wait_time} result_format=number + ${vnf_scale_max_wait_time}= Evaluate ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Should Contain Any ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False ${osm_vnf_scale_command}= Set Variable osm vnf-scale --scaling-group ${scaling_group} ${osm_vnf_scale_command}= Run Keyword If '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in -- 2.25.1