Skip to content

Commit

Permalink
Adapt vertx tests to change in default IOThreads
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Aug 9, 2022
1 parent 1f604ac commit 25a9dfe
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25a9dfe

Please sign in to comment.