From 8e7028b3ee4d18ec1916f9a68dd8587377452376 Mon Sep 17 00:00:00 2001 From: DR695H Date: Wed, 10 Jul 2019 10:13:58 -0400 Subject: remove log to console log to console doesnt show things in the log files and so isnt viewable in jenkins. If console is really needed, add console=True to Log keyword Issue-ID: TEST-173 Change-Id: I9f736eab99120c4b7c32b55fd6c5e0f823e7b734 Signed-off-by: DR695H --- .../test_templates/closedloop_test_template.robot | 8 ++++---- .../vnf_orchestration_with_cds_test_template.robot | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'robot/resources/test_templates') diff --git a/robot/resources/test_templates/closedloop_test_template.robot b/robot/resources/test_templates/closedloop_test_template.robot index 7354dc1a..4547b92a 100644 --- a/robot/resources/test_templates/closedloop_test_template.robot +++ b/robot/resources/test_templates/closedloop_test_template.robot @@ -205,12 +205,12 @@ VFWCL High Test [Documentation] Test Control Loop for High Traffic [Arguments] ${pkg_host} Enable Streams V2 ${pkg_host} 10 - Log To Console Set number of streams to 10 + Log Set number of streams to 10 :FOR ${i} IN RANGE 12 \ Sleep 15s \ ${resp}= Get List Of Enabled Streams V2 ${pkg_host} \ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']} - \ Log To Console Number of streams: ${stream_count} + \ Log Number of streams: ${stream_count} \ Exit For Loop If '${stream_count}'=='5' Should Be Equal As Integers ${stream_count} 5 @@ -218,12 +218,12 @@ VFWCL Low Test [Documentation] Test Control Loop for Low Traffic [Arguments] ${pkg_host} Enable Streams V2 ${pkg_host} 1 - Log To Console Set number of streams to 1 + Log Set number of streams to 1 :FOR ${i} IN RANGE 12 \ Sleep 15s \ ${resp}= Get List Of Enabled Streams V2 ${pkg_host} \ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']} - \ Log To Console Number of streams: ${stream_count} + \ Log Number of streams: ${stream_count} \ Exit For Loop If '${stream_count}'=='5' Should Be Equal As Integers ${stream_count} 5 diff --git a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot index 952882d2..3040f02e 100644 --- a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot @@ -100,17 +100,17 @@ Orchestrate VNF With CDS Set To Dictionary ${dict} vnfs=${data} ${request}= Apply Template cds ${so_request_template} ${dict} - Log To Console --------request-------- - Log to console ${request} - Log To Console --------end request-------- + Log --------request-------- + Log ${request} + Log --------end request-------- ${resp}= Run MSO Post Request ${so_uri_path} ${request} - Log To Console --------response------- + Log --------response------- ${json_string}= Evaluate json.dumps(${resp.json()}) json - Log To Console ${json_string} - Log To Console instanceId=${resp.json()['requestReferences']['instanceId']} + Log ${json_string} + Log instanceId=${resp.json()['requestReferences']['instanceId']} ${requestId}= Catenate ${resp.json()['requestReferences']['requestId']} - Log To Console requestId=${requestId} - Log To Console -------end response------- + Log requestId=${requestId} + Log -------end response------- # Poll MSO Get Request ${GLOBAL_MSO_STATUS_PATH}${request_id} COMPLETE @@ -135,12 +135,12 @@ Get VFModule Info Create Environment cds ${GLOBAL_TEMPLATE_FOLDER} :FOR ${key} IN @{keys} \ ${module}= Get From Dictionary ${vfModules} ${key} - \ Log to console ${vnf} ${key} + \ Log ${vnf} ${key} \ Run keyword if "${vnf}" in "${key}" set vfmodule param ${key} ${module} ${dict} \ ${vfmodule_payload}= Apply Template cds ${vfmodule_template_name} ${dict} \ ${data}= Catenate ${data} ${delim} ${vfmodule_payload} \ ${delim}= Catenate , - Log To Console ${data} + Log ${data} [Return] ${data} set vfmodule param -- cgit 1.2.3-korg