@ -69,7 +69,7 @@ public class ScheduledAndTransactionalAnnotationIntegrationTests {
ctx . register ( Config . class , SubclassProxyTxConfig . class , RepoConfigA . class ) ;
ctx . refresh ( ) ;
Thread . sleep ( 1 0) ; // allow @Scheduled method to be called several times
Thread . sleep ( 5 0) ; // allow @Scheduled method to be called several times
MyRepository repository = ctx . getBean ( MyRepository . class ) ;
CallCountingTransactionManager txManager = ctx . getBean ( CallCountingTransactionManager . class ) ;
@ -84,7 +84,7 @@ public class ScheduledAndTransactionalAnnotationIntegrationTests {
ctx . register ( Config . class , JdkProxyTxConfig . class , RepoConfigB . class ) ;
ctx . refresh ( ) ;
Thread . sleep ( 3 0) ; // allow @Scheduled method to be called several times
Thread . sleep ( 5 0) ; // allow @Scheduled method to be called several times
MyRepositoryWithScheduledMethod repository = ctx . getBean ( MyRepositoryWithScheduledMethod . class ) ;
CallCountingTransactionManager txManager = ctx . getBean ( CallCountingTransactionManager . class ) ;