aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
978 stars 625 forks source link

Add delay between setup and startPersistentSession #1810

Closed gmtt closed 2 years ago

gmtt commented 2 years ago

Issue #, if available: CSDK integration test has randomly failure on test_MQTT_Resend_Unacked_Publish_QoS1 and test_MQTT_Restore_Session_Duplicate_Incoming_Publish_Qos1 tests. The mqtt connect inside startPersistentSession in the beginning of the test might return status 4 instead of 0.

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.