Skip to content

Commit

Permalink
Merge pull request #2209 from didier-wenzek/fix/tedge-connect-c8y-test
Browse files Browse the repository at this point in the history
Fix: tedge connect c8y --test must not use a persistent MQTT session
  • Loading branch information
didier-wenzek authored Sep 1, 2023
2 parents b9e1aed + 7be4619 commit b645416
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/tedge/src/cli/connect/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ fn check_device_status_c8y(tedge_config: &TEdgeConfig) -> Result<DeviceStatus, C
let mut mqtt_options = tedge_config
.mqtt_config()?
.with_session_name(CLIENT_ID)
.with_clean_session(true)
.rumqttc_options()?;

mqtt_options.set_keep_alive(RESPONSE_TIMEOUT);
Expand Down

1 comment on commit b645416

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
261 0 5 261 100 1h4m55.917s

Please sign in to comment.