You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Increase the interval time for checking if there are jobs in the InstantTimeTimerEventTest
The InstantTimeTimerEventTest is a test which test timer jobs.
This means that we can have a scenario when the wait returns, but there are still jobs.
The scenario (due to race conditions is the following).
We start with a timer job and start the async executor
* Test Thread: Check async job list is empty
* Async Thread: Move timer job to async job
* Test Thread: Check timer job list is empty
Due to race conditions the test thread thinks that there are no more jobs and stops waiting and continues to the next check.
Copy file name to clipboardexpand all lines: modules/flowable-engine/src/test/java/org/flowable/engine/test/bpmn/event/timer/InstantTimeTimerEventTest.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ public void testVariableExpressionBoundaryTimerEvent() {
0 commit comments