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).

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)
@mergify mergify bot assigned ansd Mar 11, 2025
@ansd ansd merged commit 1e34e26 into v4.1.x Mar 11, 2025
271 of 273 checks passed
@ansd ansd deleted the mergify/bp/v4.1.x/pr-13480 branch March 11, 2025 17:54
michaelklishin added a commit that referenced this pull request Mar 11, 2025
Fix flake in test case session_upgrade_v3_v5_qos1 (backport #13480) (backport #13481)
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.

2 participants