aboutsummaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/asdc_interface.robot2
-rw-r--r--robot/resources/test_templates/hvves_template.robot5
-rw-r--r--robot/testsuites/hvves.robot2
3 files changed, 5 insertions, 4 deletions
diff --git a/robot/resources/asdc_interface.robot b/robot/resources/asdc_interface.robot
index c49f942e..38d7c27f 100644
--- a/robot/resources/asdc_interface.robot
+++ b/robot/resources/asdc_interface.robot
@@ -435,7 +435,7 @@ Run ASDC Health Check
:FOR ${ELEMENT} IN @{ITEMS}
\ Log ${ELEMENT['healthCheckStatus']}
\ ${SDC_DE_HEALTH} Set Variable If (('DE' in '${ELEMENT['healthCheckComponent']}') and ('${ELEMENT['healthCheckStatus']}' == 'UP')) or ('${SDC_DE_HEALTH}'=='UP') UP
- Log Console SDC DMaaP Interface Health: ${SDC_DE_HEALTH}
+ Log To Console SDC DMaaP Interface Health: ${SDC_DE_HEALTH}
Run ASDC Get Request
[Documentation] Runs an ASDC get request
[Arguments] ${data_path} ${user}=${ASDC_DESIGNER_USER_ID} ${MY_ASDC_BE_ENDPOINT}=${ASDC_BE_ENDPOINT}
diff --git a/robot/resources/test_templates/hvves_template.robot b/robot/resources/test_templates/hvves_template.robot
index 682566fd..5ee9a02d 100644
--- a/robot/resources/test_templates/hvves_template.robot
+++ b/robot/resources/test_templates/hvves_template.robot
@@ -15,8 +15,9 @@ Check Number Of Messages On Topic
[Arguments] ${kafka_server} ${kafka_port} ${kafka_topic}
[Teardown] Close
Connect Consumer bootstrap_servers=${kafka_server}:${kafka_port}
- ${msg_number}= Get Number Of Messages In Topics ${kafka_topic}
- [Return] ${msg_number}
+ ${status} ${msg_number}= Run Keyword And Ignore Error Get Number Of Messages In Topics ${kafka_topic}
+ Run Keyword If '${status}' == 'FAIL' Return From Keyword 0
+ Run Keyword If '${status}' == 'PASS' Return From Keyword ${msg_number}
Define WTP Protocol
[Documentation] Defines Wire Transfer Protocol.
diff --git a/robot/testsuites/hvves.robot b/robot/testsuites/hvves.robot
index c56f7e10..b7c718ae 100644
--- a/robot/testsuites/hvves.robot
+++ b/robot/testsuites/hvves.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation HV-VES 'Sunny Scenario' Robot Framwork test - message is sent to the collector and Kafka topic is checked if the message has been published.
Default Tags HVVES
-Test Timeout 3 minute
+Test Timeout 30s
Resource ${EXECDIR}/robot/resources/global_properties.robot
Resource ${EXECDIR}/robot/resources/test_templates/hvves_template.robot
Suite Teardown Reset Rammbock