Hi mmusaji,
if my understanding of the job scheduler is correct, the execution time for your unit test
is 11 sec?
Maybe you should use threads like so (not tested):
| List<Job> jobs = managementService.createJobQuery()
| .processInstanceId(processInstanceId)
| .list();
|
| for(final Job job: jobs) {
| new Thread(new Runnable() {
| public void run() {
| managementService.executeJob(job.getId());
| }
| }).run();
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250449#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...