Skip to content

Commit 179fcd8

Browse files
committed
Disable quorum test temporarily
1 parent 6edcac7 commit 179fcd8

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/FixedReplyQueueDeadLetterTests.java

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
import org.junit.jupiter.api.AfterAll;
2828
import org.junit.jupiter.api.BeforeAll;
29+
import org.junit.jupiter.api.Disabled;
2930
import org.junit.jupiter.api.Test;
3031

3132
import org.springframework.amqp.core.Binding;
@@ -174,6 +175,7 @@ void testQueueArgs3() throws MalformedURLException, URISyntaxException, Interrup
174175
* Does not require a 3.8 broker - they are just arbitrary arguments.
175176
*/
176177
@Test
178+
@Disabled("Until the quorum_queue feature flag is enabled on Bamboo")
177179
void testQuorumArgs() throws MalformedURLException, URISyntaxException, InterruptedException {
178180
Client client = new Client(brokerRunning.getAdminUri(), brokerRunning.getAdminUser(),
179181
brokerRunning.getAdminPassword());
@@ -289,9 +291,9 @@ public Queue requestQueue() {
289291
@Bean
290292
public Queue replyQueue() {
291293
return QueueBuilder.nonDurable("dlx.test.replyQ")
292-
.autoDelete()
293-
.withArgument("x-dead-letter-exchange", "reply.dlx")
294-
.build();
294+
.autoDelete()
295+
.withArgument("x-dead-letter-exchange", "reply.dlx")
296+
.build();
295297
}
296298

297299
/**
@@ -352,13 +354,13 @@ public Queue allArgs3() {
352354
.build();
353355
}
354356

355-
@Bean
356-
public Queue quorum() {
357-
return QueueBuilder.durable("test.quorum")
358-
.quorum()
359-
.deliveryLimit(10)
360-
.build();
361-
}
357+
// @Bean
358+
// public Queue quorum() {
359+
// return QueueBuilder.durable("test.quorum")
360+
// .quorum()
361+
// .deliveryLimit(10)
362+
// .build();
363+
// }
362364

363365
@Bean
364366
public DeadListener deadListener() {
@@ -396,6 +398,7 @@ public String handleMessage(String foo) throws Exception {
396398
}
397399

398400
public static class DeadListener {
401+
399402
private final CountDownLatch latch = new CountDownLatch(1);
400403

401404
public void handleMessage(@SuppressWarnings("unused") String foo) {

0 commit comments

Comments
 (0)