rebus-org / Rebus.AzureQueues

:bus: Azure Storage Queues transport implementation for Rebus
https://mookid.dk/category/rebus
Other
7 stars 5 forks source link

added a test that fails if the renewal is set to true. #15

Closed hdrachmann closed 2 years ago

hdrachmann commented 2 years ago

It seems that I somehow can replicate what I see in production when there is a message too huge for Azure storage - but renewal has been activated.

Originally I created a test without renewal and it just worked. Adding the message to the error queue.

Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

mookid8000 commented 2 years ago

I changed the receive in the test to allow for waiting up to 5 seconds for the failed message to arrive in the error queue, and that made the test pass! 🤔

Could you maybe look at the test and see if you can make it fail again? 😁