Commit 100804e
committed
test: Improve 'republish in consume block' test reliability
- Add ack() for the final message (deliveryTag 10000) before canceling
consumer to ensure proper cleanup
- Increase test timeout from default 5s to 60s to accommodate processing
10,000 messages with concurrent publishes
This test was timing out due to:
1. Missing ack on final message before cancel
2. Insufficient timeout for high-volume message processing
The test validates that the buffer pool can handle concurrent publishes
within a consume callback without race conditions.1 parent eb78699 commit 100804e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
| 826 | + | |
826 | 827 | | |
827 | 828 | | |
828 | 829 | | |
829 | 830 | | |
830 | 831 | | |
831 | 832 | | |
832 | | - | |
| 833 | + | |
833 | 834 | | |
834 | 835 | | |
835 | 836 | | |
| |||
0 commit comments