From 506974dc7835956f5c320007772c8ced7c0ce518 Mon Sep 17 00:00:00 2001 From: PradeepKiruvale Date: Thu, 28 Sep 2023 18:00:05 +0530 Subject: [PATCH] fix the service measurement (#2299) Signed-off-by: Pradeep Kumar K J --- .../tests/mqtt/custom_sub_topics_tedge-mapper-aws.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/RobotFramework/tests/mqtt/custom_sub_topics_tedge-mapper-aws.robot b/tests/RobotFramework/tests/mqtt/custom_sub_topics_tedge-mapper-aws.robot index 5e0bced5fb5..64200473793 100644 --- a/tests/RobotFramework/tests/mqtt/custom_sub_topics_tedge-mapper-aws.robot +++ b/tests/RobotFramework/tests/mqtt/custom_sub_topics_tedge-mapper-aws.robot @@ -37,8 +37,8 @@ Publish service measurements to te measurement topic with measurement type Execute Command sudo tedge config set aws.topics "te/+/+/+/+/m/+" Execute Command sudo systemctl restart tedge-mapper-aws.service ThinEdgeIO.Service Health Status Should Be Up tedge-mapper-aws - Execute Command tedge mqtt pub te/device/main/service//m/test-type '{"temperature": 10}' - Should Have MQTT Messages aws/td/device:main/m/test-type message_contains="temperature" date_from=${timestamp} minimum=1 maximum=1 + Execute Command tedge mqtt pub te/device/main/service/test_service/m/test-type '{"temperature": 10}' + Should Have MQTT Messages aws/td/device:main:service:test_service/m/test-type message_contains="temperature" date_from=${timestamp} minimum=1 maximum=1 Publish child measurements to te measurement topic with measurement type ${timestamp}= Get Unix Timestamp