test: check publishing of telemetry data whilst mapper is down#3187
test: check publishing of telemetry data whilst mapper is down#3187reubenmiller merged 2 commits intothin-edge:mainfrom
Conversation
Robot Results
|
|
@gligorisaev some general comments/improvements:
|
|
reubenmiller
left a comment
There was a problem hiding this comment.
@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
reubenmiller
left a comment
There was a problem hiding this comment.
@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 <reuben.d.miller@gmail.com>
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 <reuben.d.miller@gmail.com>
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. |
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 fmtas mentioned in CODING_GUIDELINEScargo clippyas mentioned in CODING_GUIDELINESFurther comments