Skip to content

Commit 8e69b70

Browse files
Makes semi-durable bindings test idempotent (fo realz)
1 parent 8863e1e commit 8e69b70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ public void testBindDurableToTransient()
6666

6767
public void testSemiDurableBindingRemoval() throws IOException {
6868
if (clusteredConnection != null) {
69+
deleteExchange("x");
6970
declareTransientTopicExchange("x");
71+
clusteredChannel.queueDelete("q");
7072
clusteredChannel.queueDeclare("q", true, false, false, null);
7173
channel.queueBind("q", "x", "k");
7274

0 commit comments

Comments
 (0)