We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7c2fb commit f13cca4Copy full SHA for f13cca4
test/src/com/rabbitmq/client/test/server/DeadLetterExchangeDurable.java
@@ -42,6 +42,13 @@ public void testDeadLetterQueueTTLExpiredWhileDown() throws Exception {
42
openConnection();
43
openChannel();
44
45
+ //This has the effect of waiting for the queue to complete the
46
+ //dead lettering. Some raciness remains though since the
47
+ //dead-letter publication is async so the 'consume' below may
48
+ //reach the dlq before all dead-lettered messages have arrived
49
+ //there.
50
+ assertNull(basicGet(DeadLetterExchange.TEST_QUEUE_NAME));
51
+
52
DeadLetterExchange.consume(channel, "expired");
53
}
54
0 commit comments