Skip to content

Commit

Permalink
wait after publishing messages
Browse files Browse the repository at this point in the history
  • Loading branch information
r-tomassetti committed Oct 23, 2024
1 parent f818d3a commit 3a72e35
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ trait QueueSubscriberSuite extends CatsEffectSuite { self: QueueClientSuite =>
.through(client.publish(queueName).sink(batchSize = totalMessages))
.compile
.drain
_ <- IO.sleep(3.seconds)
msgBatch <- puller.pullMessageBatch(totalMessages, waitingTime)
_ = assertEquals(msgBatch.messages.size, totalMessages)
_ <- msgBatch.nackAll
Expand Down

0 comments on commit 3a72e35

Please sign in to comment.