File tree 1 file changed +3
-3
lines changed
spring-integration-mail/src/test/java/org/springframework/integration/mail 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 104
104
@ SpringJUnitConfig
105
105
@ ContextConfiguration (
106
106
"classpath:org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml" )
107
- @ DirtiesContext
107
+ @ DirtiesContext ( classMode = DirtiesContext . ClassMode . AFTER_EACH_TEST_METHOD )
108
108
public class ImapMailReceiverTests {
109
109
110
110
private AtomicInteger failed ;
@@ -685,10 +685,10 @@ public void testNoInitialIdleDelayWhenRecentNotSupported() throws Exception {
685
685
* Idle takes 5 seconds; if all is well, we should receive the first message
686
686
* before then.
687
687
*/
688
- assertThat (channel .receive (3000 )).isNotNull ();
688
+ assertThat (channel .receive (10000 )).isNotNull ();
689
689
// We should not receive any more until the next idle elapses
690
690
assertThat (channel .receive (100 )).isNull ();
691
- assertThat (channel .receive (6000 )).isNotNull ();
691
+ assertThat (channel .receive (10000 )).isNotNull ();
692
692
adapter .stop ();
693
693
}
694
694
You can’t perform that action at this time.
0 commit comments