Revert "ns_lib: new env variable to set NS instantiation timeout for testing" 38/10538/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 24 Mar 2021 08:51:30 +0000 (09:51 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 24 Mar 2021 08:51:43 +0000 (09:51 +0100)
This reverts commit 74181401ccc81d7d696637b6ea8a86061e87881a.

Change-Id: I620644fa362b9fddf584dba196da3b5f9ce5e090
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
robot-systest/lib/ns_lib.robot

index 7126811..57eb6f5 100644 (file)
@@ -19,13 +19,11 @@ ${ns_action_max_wait_time}   1min
 ${ns_action_pol_time}   15sec
 ${vnf_scale_max_wait_time}   5min
 ${vnf_scale_pol_time}   30sec
-# If env variable "OSM_NS_TIMEOUT" exists, it prevails over the default timeout
-${default_ns_launch_max_wait_time}=   Get Environment Variable    OSM_NS_TIMEOUT   default=5min
 
 
 *** Keywords ***
 Create Network Service
-    [Arguments]   ${nsd}   ${vim_name}   ${ns_name}   ${ns_config}   ${publickey}  ${ns_launch_max_wait_time}=${default_ns_launch_max_wait_time}  ${config_file}=${EMPTY}
+    [Arguments]   ${nsd}   ${vim_name}   ${ns_name}   ${ns_config}   ${publickey}  ${ns_launch_max_wait_time}=5min  ${config_file}=${EMPTY}
 
     ${config_attr}   Set Variable If   '${ns_config}'!='${EMPTY}'   --config '${ns_config}'   \
     ${sshkeys_attr}   Set Variable If   '${publickey}'!='${EMPTY}'   --ssh_keys ${publickey}   \