Skip to content

Commit 371ae88

Browse files
committed
Increase the interval time for checking if there are jobs in the IntermediateTimerEventTest
1 parent 252ff5e commit 371ae88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/flowable-engine/src/test/java/org/flowable/engine/test/bpmn/event/timer/IntermediateTimerEventTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void testCatchingTimerEvent() throws Exception {
5454

5555
// After setting the clock to time '5 minutes and 5 seconds', the second timer should fire
5656
processEngineConfiguration.getClock().setCurrentTime(Date.from(startTime.plus(5, ChronoUnit.MINUTES).plus(5, ChronoUnit.SECONDS)));
57-
waitForJobExecutorToProcessAllJobsAndExecutableTimerJobs(7000L, 25L);
57+
waitForJobExecutorToProcessAllJobsAndExecutableTimerJobs(7000L, 200L);
5858

5959
assertThat(jobQuery.count()).isZero();
6060
assertProcessEnded(pi.getProcessInstanceId());
@@ -93,7 +93,7 @@ public void testTimerEventWithStartAndDuration() throws Exception {
9393
assertThat(jobQuery.count()).isZero();
9494

9595
processEngineConfiguration.getClock().setCurrentTime(new Date(startDate.getTime() + 11000L));
96-
waitForJobExecutorToProcessAllJobsAndExecutableTimerJobs(15000L, 25L);
96+
waitForJobExecutorToProcessAllJobsAndExecutableTimerJobs(15000L, 200L);
9797

9898
jobQuery = managementService.createTimerJobQuery().processInstanceId(pi.getId());
9999
assertThat(jobQuery.count()).isZero();

0 commit comments

Comments
 (0)