Skip to content

Commit

Permalink
Decrease read timeout for GreenMail tests
Browse files Browse the repository at this point in the history
This may give a chance for IDLE to restart more often
to read the actual INBOX state during the test
  • Loading branch information
artembilan committed Jun 28, 2023
1 parent 4583afe commit 1690be4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -150,6 +150,7 @@ void startImapServer() {
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();
Expand Down

0 comments on commit 1690be4

Please sign in to comment.