Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Mar 11, 2025

CI sometimes failed with the following error:

v5_SUITE:session_upgrade_v3_v5_qos failed on line 1068
Reason: {test_case_failed,Received unexpected PUBLISH payload. Expected: <<"2">> Got: <<"3">>}

The emqtt client auto acks by default.
Therefore, if Subv3 client was able to successfully auto ack message 2 before Subv3 disconnected, Subv5 client did not receive message 2.

This commit fixes this flake by making sure that Subv3 does not ack message 2.


This is an automatic backport of pull request #13480 done by [Mergify](https://mergify.com).
This is an automatic backport of pull request #13481 done by [Mergify](https://mergify.com).

CI sometimes failed with the following error:
```
v5_SUITE:session_upgrade_v3_v5_qos failed on line 1068
Reason: {test_case_failed,Received unexpected PUBLISH payload. Expected: <<"2">> Got: <<"3">>}
```

The emqtt client auto acks by default.
Therefore, if Subv3 client was able to successfully auto ack message 2
before Subv3 disconnected, Subv5 client did not receive message 2.

This commit fixes this flake by making sure that Subv3 does not ack
message 2.

(cherry picked from commit 7cf0766)
(cherry picked from commit 1e34e26)
@michaelklishin michaelklishin added this to the 4.0.8 milestone Mar 11, 2025
@michaelklishin michaelklishin merged commit a7ed4cf into v4.0.x Mar 11, 2025
175 of 177 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.0.x/pr-13481 branch March 11, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants