I had a process with asynchronous continuation: I have a service task of type aync=true. My unit tests use this method:TestHelper.waitForJobExecutorToProcessAllJobs(((ProcessEngineImpl) processEngine).getProcessEngineConfiguration(), maxMillisToWait, intervalMillis);
I have replaced the asynchronous task by a intermediateCatchEvent with timeDuration = PT5S.Now the unit tests do not work because this line is always evaluated to false: !managementService.createJobQuery().executable().list().isEmpty() //areJobsAvailable
Do you understand why?