Commit f2e1b6a
Fix flake in test case session_upgrade_v3_v5_qos1
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.1 parent bdfd476 commit f2e1b6a
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | | - | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1041 | 1044 | | |
1042 | 1045 | | |
1043 | 1046 | | |
1044 | 1047 | | |
1045 | | - | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1046 | 1054 | | |
1047 | 1055 | | |
1048 | 1056 | | |
1049 | 1057 | | |
1050 | | - | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1051 | 1061 | | |
1052 | 1062 | | |
1053 | 1063 | | |
| |||
0 commit comments