File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,30 @@ def example_test_data():
341341 "expectation" : "\\ [INFO\\ ] Closing MQTT connection"
342342 }
343343 ],
344+ "mqtt_with_connection_loss_handling" : [
345+ {
346+ "expectation" : "\\ [INFO\\ ] Starting MQTT with Connection Loss Handling"
347+ },
348+ {
349+ "expectation" : "\r \n "
350+ },
351+ {
352+ "expectation" : "\\ [INFO\\ ] Not connected to the network. Attempting to connect!"
353+ },
354+ {
355+ "expectation" : "\\ [INFO\\ ] Connecting to operator.{0,}OK!"
356+ },
357+ {
358+ "expectation" : "\\ [INFO\\ ] Not connected to broker. Attempting to connect!"
359+ },
360+ {
361+ "expectation" : "\\ [INFO\\ ] Connecting to broker.{0,}OK!"
362+ },
363+ {
364+ "repeat" : 5 ,
365+ "expectation" : "\\ [INFO\\ ] Published message: \\ d{1,}. Failed publishes: \\ d{1,}."
366+ },
367+ ],
344368 "power_down" : [
345369 {
346370 "expectation" : "\\ [INFO\\ ] Connecting to operator.{0,}OK!"
You can’t perform that action at this time.
0 commit comments