File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ paho-mqtt~=1.6.1
2
2
python-dotenv ~= 1.0.0
3
3
robotframework ~= 7.0.0
4
4
robotframework-c8y @ git+https://github.com/thin-edge/robotframework-c8y.git@0.46.2
5
- robotframework-aws @ git+https://github.com/thin-edge/robotframework-aws.git@0.0.10
5
+ robotframework-aws @ git+https://github.com/thin-edge/robotframework-aws.git@0.0.11
6
6
robotframework-debuglibrary ~= 2.5.0
7
7
robotframework-jsonlibrary ~= 0.5
8
8
robotframework-pabot ~= 2.18.0
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ Connect using certificates generated by AWS
52
52
${messages } = AWS.Should Have MQTT Messages topic=${cloud_topic } min_count=1
53
53
Should Not Be Empty ${messages }
54
54
55
+ # Check publishing a retained message
56
+ Execute Command tedge mqtt pub --retain aws/td/some/custom/message '{"text":"publishing directly to aws"}'
57
+ ${messages } = AWS.Should Have MQTT Messages topic=thinedge/${DEVICE_SN } /td/some/custom/message min_count=1
58
+ Should Not Be Empty ${messages }
59
+ ThinEdgeIO.Service Health Status Should Be Up tedge-mapper-aws
60
+
55
61
# Send data to thin-edge.io
56
62
${cloud_cmd_topic } = AWS.Get Cloud Command Topic ${DEVICE_SN } topic_suffix=foo/bar
57
63
AWS.Publish MQTT Message ${cloud_cmd_topic } {"some":"payload"}
You can’t perform that action at this time.
0 commit comments