File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
crates/core/tedge_agent/src/entity_manager
tests/RobotFramework/tests/tedge_agent/http_server Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,7 @@ impl EntityStoreServer {
328
328
ChannelFilter :: EntityTwinData ,
329
329
ChannelFilter :: AnyCommand ,
330
330
ChannelFilter :: AnyCommandMetadata ,
331
+ ChannelFilter :: Health ,
331
332
] {
332
333
let topic = self
333
334
. mqtt_schema
Original file line number Diff line number Diff line change @@ -124,6 +124,11 @@ async fn delete_entity_clears_retained_data() {
124
124
json ! ( { "status" : "init" } ) ,
125
125
true ,
126
126
) ,
127
+ (
128
+ "te/device/child0///status/health" ,
129
+ json ! ( { "status" : "up" } ) ,
130
+ true ,
131
+ ) ,
127
132
] {
128
133
mqtt_sender
129
134
. send ( MqttMessage :: from ( ( topic, & payload. to_string ( ) ) ) . with_retain_flag ( retain) )
@@ -144,6 +149,7 @@ async fn delete_entity_clears_retained_data() {
144
149
MqttMessage :: from ( ( "te/device/child0///a/high_temp" , "" ) ) . with_retain ( ) ,
145
150
MqttMessage :: from ( ( "te/device/child0///cmd/restart" , "" ) ) . with_retain ( ) ,
146
151
MqttMessage :: from ( ( "te/device/child0///cmd/restart/123" , "" ) ) . with_retain ( ) ,
152
+ MqttMessage :: from ( ( "te/device/child0///status/health" , "" ) ) . with_retain ( ) ,
147
153
MqttMessage :: from ( ( "te/device/child0//" , "" ) ) . with_retain ( ) ,
148
154
] )
149
155
. await ;
Original file line number Diff line number Diff line change @@ -513,9 +513,9 @@ Delete entity clears entity registration and all retained data messages
513
513
514
514
${deleted } = Deregister Entity device/child0//
515
515
516
- Should Not Have Retained MQTT Messages te/device/child000// #
517
- Should Not Have Retained MQTT Messages te/device/child00// #
518
- Should Not Have Retained MQTT Messages te/device/child0// #
516
+ Should Not Have Retained MQTT Messages te/device/child000/#
517
+ Should Not Have Retained MQTT Messages te/device/child00/#
518
+ Should Not Have Retained MQTT Messages te/device/child0/#
519
519
520
520
521
521
*** Keywords ***
You can’t perform that action at this time.
0 commit comments