Skip to content

Commit 3210e09

Browse files
committed
Delete test queue
It would sit in the broker after the test suite because it is not exclusive and was not deleted.
1 parent 6c34023 commit 3210e09

File tree

1 file changed

+6
-0
lines changed
  • src/test/java/com/rabbitmq/client/test/functional

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ public void setUp() throws IOException, TimeoutException {
6666
"confirm-multiple-queues");
6767
}
6868

69+
@Override
70+
protected void releaseResources() throws IOException {
71+
super.releaseResources();
72+
channel.queueDelete("confirm-durable-nonexclusive");
73+
}
74+
6975
@Test public void persistentMandatoryCombinations()
7076
throws IOException, InterruptedException, TimeoutException {
7177
boolean b[] = { false, true };

0 commit comments

Comments
 (0)