rabbitmq / rabbitmq-dotnet-client

RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+
https://www.rabbitmq.com/dotnet.html
Other
2.06k stars 574 forks source link

Ensure tests that interact with RabbitMQ do not run in parallel #1402

Closed lukebakken closed 9 months ago

lukebakken commented 9 months ago

Since there are tests that restart RabbitMQ, every test that could interact with RMQ must have this attribute on the class:

[Collection("IntegrationFixture")]

We would get random CI failures due to some tests executing that were not part of this collection.