Fix test exchange declaration
- exchanges are now durable by default and tests fail if the exchange already exists on the CI broker (declared by a newer release).
This commit is contained in:
@@ -1268,7 +1268,7 @@ public class EnableRabbitIntegrationTests {
|
||||
|
||||
@RabbitListener(bindings = @QueueBinding
|
||||
(value = @Queue,
|
||||
exchange = @Exchange(value = "multi.exch.tx", autoDelete = "true"),
|
||||
exchange = @Exchange(value = "multi.exch.tx", autoDelete = "true", durable = "true"),
|
||||
key = "multi.rk.tx"))
|
||||
static class TxClassLevelImpl implements TxClassLevel {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user