Particular / NServiceBus.Transport.AzureServiceBus

Azure Service Bus transport
Other
22 stars 19 forks source link

Transport test to verify that the transport can switch concurrency fails on build server #1041

Open danielmarbach opened 2 months ago

danielmarbach commented 2 months ago

Describe the bug

The following tests behave flaky

Steps to reproduce

Run the test on the CI build

Relevant log output

No response

Additional Information

It might be related to the Service Bus Processor trying to reconciliate the concurrency together with the prefetch count and that process can take some time.

We have switched to the native way of doing the concurrency and prefetch updates because the SDK already provides such a functionality (and is already in charge of concurrent execution and prefetching). The previous way of starting and stopping the infrastructure had additional overload of having to stop and recreate processors, which also meant more overhead because the underlying connection means had to be re-established by the SDK.