Increase timeout in ZeroMqMessageHandlerTests

This commit is contained in:
Artem Bilan
2021-06-22 12:05:04 -04:00
parent cd7465a370
commit 7072cf1ab0

View File

@@ -102,7 +102,8 @@ public class ZeroMqMessageHandlerTests {
Message<?> testMessage = MessageBuilder.withPayload("test").setHeader("topic", "testTopic").build();
await().untilAsserted(() -> {
await().atMost(Duration.ofSeconds(20)).pollDelay(Duration.ofMillis(100))
.untilAsserted(() -> {
messageHandler.handleMessage(testMessage).subscribe();
ZMsg msg = ZMsg.recvMsg(subSocket);
assertThat(msg).isNotNull();