From 52e8ab7a7862265cacb09f4684e8260bb3eaca90 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Tue, 9 Jan 2024 19:47:00 +0100 Subject: [PATCH] test: refactor test removing unnecessary logic Signed-off-by: Reuben Miller --- .../service_monitoring.robot | 33 +------------------ 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/tests/RobotFramework/tests/cumulocity/service_monitoring/service_monitoring.robot b/tests/RobotFramework/tests/cumulocity/service_monitoring/service_monitoring.robot index 82592815a82..6b5308269e1 100644 --- a/tests/RobotFramework/tests/cumulocity/service_monitoring/service_monitoring.robot +++ b/tests/RobotFramework/tests/cumulocity/service_monitoring/service_monitoring.robot @@ -33,7 +33,6 @@ Test if all c8y services are down tedge-agent c8y-firmware-plugin - Test if all c8y services are using configured service type [Template] Check if a service using configured service type tedge-mapper-c8y @@ -47,8 +46,6 @@ Test if all c8y services using default service type when service type configured c8y-firmware-plugin Check health status of tedge-mapper-c8y service on broker stop start - Custom Test Setup - Device Should Exist ${DEVICE_SN}:device:main:service:tedge-mapper-c8y show_info=False ${SERVICE}= Cumulocity.Device Should Have Fragment Values status\=up Should Be Equal ${SERVICE["name"]} tedge-mapper-c8y @@ -69,11 +66,8 @@ Check health status of tedge-mapper-c8y service on broker stop start Should Be Equal ${SERVICE["name"]} tedge-mapper-c8y Should Be Equal ${SERVICE["status"]} up - Custom Test Teardown - Check health status of tedge-mapper-c8y service on broker restart [Documentation] Test tedge-mapper-c8y on mqtt broker restart - Custom Test Setup Device Should Exist ${DEVICE_SN}:device:main:service:tedge-mapper-c8y show_info=False ${SERVICE}= Cumulocity.Device Should Have Fragment Values status\=up timeout=${TIMEOUT} @@ -89,8 +83,6 @@ Check health status of tedge-mapper-c8y service on broker restart Should Be Equal ${SERVICE["name"]} tedge-mapper-c8y Should Be Equal ${SERVICE["status"]} up - Custom Test Teardown - Check health status of child device service [Documentation] Test service status of child device services # Create the child device by sending the service status on te/device//service/