Skip to content

Commit 22acf51

Browse files
committed
Increase timeout in the ImapMailReceiverTests
1 parent 4fdbdf1 commit 22acf51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,8 @@ public void testInitialIdleDelayWhenRecentIsSupported() throws Exception {
747747
* not receive any early messages.
748748
*/
749749
assertThat(channel.receive(100)).isNull();
750-
assertThat(channel.receive(5000)).isNotNull();
751-
assertThat(idles.await(5, TimeUnit.SECONDS)).isTrue();
750+
assertThat(channel.receive(10000)).isNotNull();
751+
assertThat(idles.await(10, TimeUnit.SECONDS)).isTrue();
752752
adapter.stop();
753753
}
754754

0 commit comments

Comments
 (0)