-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
push ping time only if the request complete is successful #348
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #348 +/- ##
==========================================
+ Coverage 82.53% 82.61% +0.07%
==========================================
Files 20 20
Lines 8764 8764
==========================================
+ Hits 7233 7240 +7
+ Misses 1531 1524 -7 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhhh, timeouts.
We should add a test variant that sets operation timeouts, no acks, and verifies we eventually send a ping as expected. See test_mqtt_connection_ping_no for a starting point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix n ship
push ping time only if the request complete is successful
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.