-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
MQTT metric unit tests part two #64
Commits on Nov 16, 2023
-
Lay the foundation for dynamic reconfiguration of the MQTT target thr…
…ough refactoring of the MQTT target into separate modules, replacing the use of separate Tokio tasks and multiple uses of select with a single tokio::select! macro, and splitting connection state handling into a dedicated type.
Configuration menu - View commit details
-
Copy full SHA for 5676789 - Browse repository at this point
Copy the full SHA 5676789View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4eeaf3 - Browse repository at this point
Copy the full SHA a4eeaf3View commit details -
Remove entirely the no longer used TargetActivity and related From im…
…pl for select Either, replaced by use of tokio::select! instead.
Configuration menu - View commit details
-
Copy full SHA for 63ffd9a - Browse repository at this point
Copy the full SHA 63ffd9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d55e7b5 - Browse repository at this point
Copy the full SHA d55e7b5View commit details -
FIX: Incorrect name, type and description for metric concerning MQTT …
…broker connection status.
Configuration menu - View commit details
-
Copy full SHA for 0138f29 - Browse repository at this point
Copy the full SHA 0138f29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a31cc2 - Browse repository at this point
Copy the full SHA 8a31cc2View commit details -
Use additional traits and separate source Link connection from the ma…
…in MQTT connection processing loop out of the `run()` fn into new fn `do_run()` for better testability.
Configuration menu - View commit details
-
Copy full SHA for 4b6ef2c - Browse repository at this point
Copy the full SHA 4b6ef2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9013453 - Browse repository at this point
Copy the full SHA 9013453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e35ac - Browse repository at this point
Copy the full SHA 09e35acView commit details -
Extend the config test to verify client ID requirements enforcement, …
…and a connection refused test that tests the connection established/lost metrics showing that the new testability works.
Configuration menu - View commit details
-
Copy full SHA for c0ce546 - Browse repository at this point
Copy the full SHA c0ce546View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc5090 - Browse repository at this point
Copy the full SHA 4fc5090View commit details -
Configuration menu - View commit details
-
Copy full SHA for 389b416 - Browse repository at this point
Copy the full SHA 389b416View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e78a3 - Browse repository at this point
Copy the full SHA c1e78a3View commit details
Commits on Nov 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3e89e4b - Browse repository at this point
Copy the full SHA 3e89e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a0c9e - Browse repository at this point
Copy the full SHA 46a0c9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a26e087 - Browse repository at this point
Copy the full SHA a26e087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c3f73 - Browse repository at this point
Copy the full SHA 09c3f73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5678d42 - Browse repository at this point
Copy the full SHA 5678d42View commit details -
Ensure the rumqttc event loop runs in its own Tokio task as it is not…
… cancel safe but a task JoinHandle is. As the event loop is not movable across threads/tasks it and the client must be created in the event loop task and the client passed out for use by the parent code. Additional changes: - Use the concept of "active" MQTT connection rather than "conncted" as reconnection is handled transparently by the rumqttc event loop and thus we do not currently know if we are actually "connected" or not. - Introduce "mock poll result" suport for testing with particular good/bad output froms the MQTT event `poll()`ing fn. - Count connection errors detected in the MQTT event loop.- Fix the `connection_refused()` test using the new "mock poll result" and connection error counting functionality.
Configuration menu - View commit details
-
Copy full SHA for 93402bb - Browse repository at this point
Copy the full SHA 93402bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a63dd1e - Browse repository at this point
Copy the full SHA a63dd1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e456b49 - Browse repository at this point
Copy the full SHA e456b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb4179 - Browse repository at this point
Copy the full SHA 8bb4179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ad53db - Browse repository at this point
Copy the full SHA 4ad53dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3251128 - Browse repository at this point
Copy the full SHA 3251128View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf11749 - Browse repository at this point
Copy the full SHA bf11749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0efa6 - Browse repository at this point
Copy the full SHA 1f0efa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bf6180 - Browse repository at this point
Copy the full SHA 3bf6180View commit details -
Configuration menu - View commit details
-
Copy full SHA for a49e674 - Browse repository at this point
Copy the full SHA a49e674View commit details -
Configuration menu - View commit details
-
Copy full SHA for c28fc54 - Browse repository at this point
Copy the full SHA c28fc54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2bd6c - Browse repository at this point
Copy the full SHA 4b2bd6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85f95f9 - Browse repository at this point
Copy the full SHA 85f95f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a604784 - Browse repository at this point
Copy the full SHA a604784View commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0995d86 - Browse repository at this point
Copy the full SHA 0995d86View commit details
Commits on Nov 22, 2023
-
Fix in flight connection count trackign, extend the MQTT test suite, …
…and to support that allow connnection events and errors to be simulated _during_ a mock connection, not only specified up front. Also required adding a notion of ClientState to track the link between the client event loop.
Configuration menu - View commit details
-
Copy full SHA for fa4844c - Browse repository at this point
Copy the full SHA fa4844cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 236a041 - Browse repository at this point
Copy the full SHA 236a041View commit details -
Refactoring to make use of rumqttc automatic continuation of publicat…
…ion after connection re-establishment.
Configuration menu - View commit details
-
Copy full SHA for d7067a1 - Browse repository at this point
Copy the full SHA d7067a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460b7c5 - Browse repository at this point
Copy the full SHA 460b7c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1937d1 - Browse repository at this point
Copy the full SHA c1937d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba9569a - Browse repository at this point
Copy the full SHA ba9569aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ece8d4d - Browse repository at this point
Copy the full SHA ece8d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f40ea2 - Browse repository at this point
Copy the full SHA 9f40ea2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4754d2 - Browse repository at this point
Copy the full SHA a4754d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a35802 - Browse repository at this point
Copy the full SHA 3a35802View commit details
Commits on Nov 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 38f8df9 - Browse repository at this point
Copy the full SHA 38f8df9View commit details