@@ -107,7 +107,7 @@ impl From<BridgeConfigAzureParams> for BridgeConfig {
107107 format!( "twin/PATCH/# out 1 {topic_prefix}/ $iothub/" ) ,
108108 ] ,
109109 bridge_location,
110- connection_check_attempts : 1 ,
110+ connection_check_attempts : 5 ,
111111 auth_type : AuthType :: Certificate ,
112112 mosquitto_version : None ,
113113 keepalive_interval,
@@ -170,7 +170,7 @@ fn test_bridge_config_from_azure_params() -> anyhow::Result<()> {
170170 notification_topic : "te/device/main/service/mosquitto-az-bridge/status/health" . into ( ) ,
171171 bridge_attempt_unsubscribe : false ,
172172 bridge_location : BridgeLocation :: Mosquitto ,
173- connection_check_attempts : 1 ,
173+ connection_check_attempts : 5 ,
174174 auth_type : AuthType :: Certificate ,
175175 mosquitto_version : None ,
176176 keepalive_interval : Duration :: from_secs ( 60 ) ,
@@ -237,7 +237,7 @@ fn test_azure_bridge_config_with_custom_prefix() -> anyhow::Result<()> {
237237 . into ( ) ,
238238 bridge_attempt_unsubscribe : false ,
239239 bridge_location : BridgeLocation :: Mosquitto ,
240- connection_check_attempts : 1 ,
240+ connection_check_attempts : 5 ,
241241 auth_type : AuthType :: Certificate ,
242242 mosquitto_version : None ,
243243 keepalive_interval : Duration :: from_secs ( 60 ) ,
0 commit comments