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(); }