I came across a situation where, while running a huge number of tests with queues, they started to crash. If you do not use the single_channel option, then the number of open channels will overflow and the corresponding error will appear. If you use it, then for some reason an error begins to appear stating that it is not possible to create an exchange or queue. I was able to overcome this problem by adding a reconnect before each test next to the cleanup, thereby deleting all previous unused channels.
I came across a situation where, while running a huge number of tests with queues, they started to crash. If you do not use the single_channel option, then the number of open channels will overflow and the corresponding error will appear. If you use it, then for some reason an error begins to appear stating that it is not possible to create an exchange or queue. I was able to overcome this problem by adding a reconnect before each test next to the cleanup, thereby deleting all previous unused channels.