Decrease read timeout for GreenMail tests
This may give a chance for IDLE to restart more often to read the actual INBOX state during the test
This commit is contained in:
@@ -150,6 +150,7 @@ public class ImapMailReceiverTests {
|
||||
imapSearches.stores.clear();
|
||||
ServerSetup imap = ServerSetupTest.IMAP.verbose(true).dynamicPort();
|
||||
imap.setServerStartupTimeout(10000);
|
||||
imap.setReadTimeout(2000);
|
||||
imapIdleServer = new GreenMail(imap);
|
||||
user = imapIdleServer.setUser("user", "pw");
|
||||
imapIdleServer.start();
|
||||
|
||||
Reference in New Issue
Block a user