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:
Gary Russell
2020-07-07 17:06:55 -04:00
parent eeaeb68e9a
commit 1eb4b359f7

View File

@@ -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 {