8000 Delete resources before re-creating them here · liborange/rabbitmq-java-client@4b54735 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b54735

Browse files
Delete resources before re-creating them here
1 parent 9128879 commit 4b54735

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/src/com/rabbitmq/client/test/functional/DeadLetterExchange.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class DeadLetterExchange extends BrokerTestCase {
3434

3535
@Override
3636
protected void createResources() throws IOException {
37+
channel.exchangeDelete(DLX);
38+
channel.queueDelete(DLQ);
3739
channel.exchangeDeclare(DLX, "direct");
3840
channel.queueDeclare(DLQ, false, true, false, null);
3941
}

0 commit comments

Comments
 (0)
0