-
Notifications
You must be signed in to change notification settings - Fork 55
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
test: check publishing of telemetry data whilst mapper is down #3187
Conversation
Robot Results
|
@gligorisaev some general comments/improvements:
|
|
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.
@gligorisaev Can you remove the following commits from the PR as they have been superseded by 54b7b0c:
And can you please update the PR description to suite (as per comments):
26998ca
to
5187a0e
Compare
d8eb918
to
54b7b0c
Compare
d24f039
to
07365e4
Compare
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.
@gligorisaev Thanks for dropping the two other commits, but now the commit I pushed yesterday to switch back to using mosquitto 2.0.11 is missing which means the test is failing (as the system tests are still using the bugging mosquitto 2.0.18 version)
07365e4
to
6f46036
Compare
Signed-off-by: Reuben Miller <[email protected]>
Reverting back to mosquitto 2.0.11 due to a persistent session bug which affects thin-edge.io's ability to process any messages which are published locally whilst the mapper is down Signed-off-by: Reuben Miller <[email protected]>
54b7b0c
to
cbb889f
Compare
The new commits are authored by myself, so I shouldn't be reviewing it
Then something went very wrong (maybe you didn't do a fetch and pull prior to rebasing). But anyway I've forced pushed the changes that I still had locally. |
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.
Approved
This PR adds a new test case to validate the behavior of ThinEdge.io when the tedge-mapper-c8y service is down, and events are published during the downtime. The test ensures that events sent via MQTT while the mapper is offline are published to Cumulocity when the service is restored.
Test Flow:
Proposed changes
Types of changes
Paste Link to the issue
#3185
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments