summaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-10 10:13:58 -0400
committerDR695H <dr695h@att.com>2019-07-10 10:13:58 -0400
commit8e7028b3ee4d18ec1916f9a68dd8587377452376 (patch)
treedf508dada6bd9a2ade634aadfdb16c0cd250a2a5 /robot/resources/test_templates
parent8ade70bdca03a5c5e3f46df70f75549de4d7b9d8 (diff)
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 <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates')
-rw-r--r--robot/resources/test_templates/closedloop_test_template.robot8
-rw-r--r--robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot20
2 files changed, 14 insertions, 14 deletions
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