From 22acf51caa357e64a5686c0a4ef7c2f87719a527 Mon Sep 17 00:00:00 2001 From: abilan Date: Wed, 29 Mar 2023 10:27:16 -0400 Subject: [PATCH] Increase timeout in the ImapMailReceiverTests --- .../integration/mail/ImapMailReceiverTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java b/spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java index 543c5d57136..43d7c15c5c8 100644 --- a/spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java +++ b/spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java @@ -747,8 +747,8 @@ public void testInitialIdleDelayWhenRecentIsSupported() throws Exception { * not receive any early messages. */ assertThat(channel.receive(100)).isNull(); - assertThat(channel.receive(5000)).isNotNull(); - assertThat(idles.await(5, TimeUnit.SECONDS)).isTrue(); + assertThat(channel.receive(10000)).isNotNull(); + assertThat(idles.await(10, TimeUnit.SECONDS)).isTrue(); adapter.stop(); }