1 Reply Latest reply on Sep 2, 2011 2:10 AM by garytse

    jbpm5: timer event and unit tests

    royd938

      Hi everybody,

       

      Could someone tell me how to manage a timer event in an unit test with jbpm5?

       

      It seems this kind of event is never triggered in an unit test?

       

      Thanks in advance for your help.

        • 1. Re: jbpm5: timer event and unit tests
          garytse

          Double check your logs, and make sure that your junit test case is not exited (JVM exit) before the timer event gets a chance to get triggered.  I didnt have any problem with the stateful session running in junit.