diff --git a/extensions/vertx/deployment/src/test/java/io/quarkus/vertx/deployment/MessageConsumerContextTest.java b/extensions/vertx/deployment/src/test/java/io/quarkus/vertx/deployment/MessageConsumerContextTest.java index 54e945fc186f6d..cc80a52a62335d 100644 --- a/extensions/vertx/deployment/src/test/java/io/quarkus/vertx/deployment/MessageConsumerContextTest.java +++ b/extensions/vertx/deployment/src/test/java/io/quarkus/vertx/deployment/MessageConsumerContextTest.java @@ -84,11 +84,7 @@ public void testRequestReply() throws InterruptedException { }) .await().atMost(Duration.ofSeconds(3)); - if (Runtime.getRuntime().availableProcessors() > 1) { - assertEquals(3, MessageConsumers.MESSAGES.size()); - } else { - assertTrue(MessageConsumers.MESSAGES.size() >= 2); - } + assertTrue(MessageConsumers.MESSAGES.size() >= 2); } @ApplicationScoped