mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
Since acks are now processed in different go-routine, the tests that use Ack() cannot expect the number of ack messages to be exact immediately. So in this test use AckSync() to ensure that the ack is processed. Alternatively, the pending count should be checked with a checkFor(). Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
7.2 KiB
7.2 KiB