Skip to content

Commit 287cbbb

Browse files
author
Simon MacMullen
committed
Don't run this test in HA mode.
1 parent cb9afcf commit 287cbbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ protected void releaseResources() throws IOException {
3131
}
3232

3333
public void testDeadLetterQueueTTLExpiredWhileDown() throws Exception {
34+
// This test is nonsensical (and often breaks) in HA mode.
35+
if (HATests.HA_TESTS_RUNNING) return;
36+
3437
for(int x = 0; x < DeadLetterExchange.MSG_COUNT; x++) {
3538
channel.basicPublish("amq.direct", "test", MessageProperties.MINIMAL_PERSISTENT_BASIC, "test message".getBytes());
3639
}

0 commit comments

Comments
 (0)