mop
mop copied to clipboard
Add test to coverage msg with the same packetId
Motivation
Suppose there are 2 messages in the topic. One is consumed by consumer with packetId=1. but then broker-A crashes and broker-B owns the topic, it will send msg-2 with packetId=1.
Test to coverage if the msg-2 will be discarded.