Increase sleep time in ScheduledATAITests
This commit increases the sleep time in ScheduledAndTransactionalAnnotationIntegrationTests with the hope of improving the robustness of the test suite on the CI build server.
This commit is contained in:
@@ -69,7 +69,7 @@ public class ScheduledAndTransactionalAnnotationIntegrationTests {
|
||||
ctx.register(Config.class, SubclassProxyTxConfig.class, RepoConfigA.class);
|
||||
ctx.refresh();
|
||||
|
||||
Thread.sleep(10); // allow @Scheduled method to be called several times
|
||||
Thread.sleep(50); // 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(30); // allow @Scheduled method to be called several times
|
||||
Thread.sleep(50); // allow @Scheduled method to be called several times
|
||||
|
||||
MyRepositoryWithScheduledMethod repository = ctx.getBean(MyRepositoryWithScheduledMethod.class);
|
||||
CallCountingTransactionManager txManager = ctx.getBean(CallCountingTransactionManager.class);
|
||||
|
||||
Reference in New Issue
Block a user