Skip to content

Commit a9b76f4

Browse files
committed
HA queues stay alive, unsurprisingly
1 parent ff49a79 commit a9b76f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ protected void assertNotFound(Task t) throws IOException {
8383
if (clusteredChannel == null) return;
8484
try {
8585
t.run();
86-
fail("expected not_found");
86+
if (!HATests.HA_TESTS_RUNNING) fail("expected not_found");
8787
} catch (IOException ioe) {
88+
assertFalse(HATests.HA_TESTS_RUNNING);
8889
checkShutdownSignal(AMQP.NOT_FOUND, ioe);
8990
channel = connection.createChannel();
9091
}

0 commit comments

Comments
 (0)