From 25a9dfe1a3efa05db7aab55cb3db18d15793f9ed Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Tue, 9 Aug 2022 15:36:32 +0100 Subject: [PATCH] Adapt vertx tests to change in default IOThreads --- .../vertx/deployment/MessageConsumerContextTest.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 54e945fc186f6..cc80a52a62335 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