Currently connection is taking prefetchLimit number of messages in delivery chain hence connection holds more than prefetchLimit of messages unacknowledged at any time.
Because number of messages unack by connection at any time = messages in consumption + messages waiting in delivery channel.
This commit is to make connections unack messages equal to prefetchLimit.
Changing the test cases according to the new change.
Currently connection is taking prefetchLimit number of messages in delivery chain hence connection holds more than prefetchLimit of messages unacknowledged at any time. Because number of messages unack by connection at any time = messages in consumption + messages waiting in delivery channel.
This commit is to make connections unack messages equal to prefetchLimit.
Changing the test cases according to the new change.