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 @@ -324,6 +324,7 @@ impl EntityStoreServer {
324
324
ChannelFilter :: EntityTwinData ,
325
325
ChannelFilter :: AnyCommand ,
326
326
ChannelFilter :: AnyCommandMetadata ,
327
+ ChannelFilter :: Health ,
327
328
] {
328
329
let topic = self
329
330
. mqtt_schema
Original file line number Diff line number Diff line change @@ -123,6 +123,11 @@ async fn delete_entity_clears_retained_data() {
123
123
json ! ( { "status" : "init" } ) ,
124
124
true ,
125
125
) ,
126
+ (
127
+ "te/device/child0///status/health" ,
128
+ json ! ( { "status" : "up" } ) ,
129
+ true ,
130
+ ) ,
126
131
] {
127
132
mqtt_sender
128
133
. send ( MqttMessage :: from ( ( topic, & payload. to_string ( ) ) ) . with_retain_flag ( retain) )
@@ -143,6 +148,7 @@ async fn delete_entity_clears_retained_data() {
143
148
MqttMessage :: from ( ( "te/device/child0///a/high_temp" , "" ) ) . with_retain ( ) ,
144
149
MqttMessage :: from ( ( "te/device/child0///cmd/restart" , "" ) ) . with_retain ( ) ,
145
150
MqttMessage :: from ( ( "te/device/child0///cmd/restart/123" , "" ) ) . with_retain ( ) ,
151
+ MqttMessage :: from ( ( "te/device/child0///status/health" , "" ) ) . with_retain ( ) ,
146
152
MqttMessage :: from ( ( "te/device/child0//" , "" ) ) . with_retain ( ) ,
147
153
] )
148
154
. 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