Skip to content

Commit d0d50ca

Browse files
author
Simon MacMullen
committed
Turns out those helper functions are false friends - BindingLifecycleBase overrides which node queues get created on. Make the tests pass.
1 parent 8928b2b commit d0d50ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/src/com/rabbitmq/client/test/server/DurableBindingLifecycle.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ public void testTransientExchangeDurableQueue() throws IOException {
142142
// This test depends on the second node in the cluster to keep the transient X alive
143143
if (clusteredChannel != null) {
144144
channel.exchangeDeclare("transientX", "fanout", false);
145-
declareAndBindDurableQueue("durableQ", "transientX", "");
145+
channel.queueDeclare("durableQ", true, false, false, null);
146+
channel.queueBind("durableQ", "transientX", "");
146147

147148
restartPrimary();
148149

0 commit comments

Comments
 (0)