Skip to content

Commit d109166

Browse files
author
Simon MacMullen
committed
Gah, dozy and tested the wrong case.
1 parent 170061e commit d109166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/com/rabbitmq/examples/perf/MulticastParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private static boolean exists(Connection connection, Checker checker) throws IOE
224224
Command closeCommand = (Command) sse.getReason();
225225
if (!sse.isHardError()) {
226226
AMQP.Channel.Close closeMethod = (AMQP.Channel.Close) closeCommand.getMethod();
227-
if (closeMethod.getReplyCode() == AMQP.PRECONDITION_FAILED) {
227+
if (closeMethod.getReplyCode() == AMQP.NOT_FOUND) {
228228
return false;
229229
}
230230
}

0 commit comments

Comments
 (0)