AMQP Tests; Remove Test PubSub Exchanges

This commit is contained in:
Gary Russell
2017-01-05 17:11:50 -05:00
parent 89d73703b4
commit f0bf226775

View File

@@ -114,7 +114,10 @@ public class ChannelTests extends LogAdjustingTestSupport {
@After
public void tearDown() {
new RabbitAdmin(this.factory).deleteExchange("si.fanout.foo");
RabbitAdmin rabbitAdmin = new RabbitAdmin(this.factory);
rabbitAdmin.deleteExchange("si.fanout.foo");
rabbitAdmin.deleteExchange("si.fanout.channel");
rabbitAdmin.deleteExchange("si.fanout.pubSubWithEP");
brokerIsRunning.removeTestQueues();
}