Increase timeout in the ImapMailReceiverTests

This commit is contained in:
abilan
2023-03-29 10:27:16 -04:00
parent 4fdbdf180e
commit 22acf51caa

View File

@@ -747,8 +747,8 @@ public class ImapMailReceiverTests {
* 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();
}