Details
-
Bug Report
-
Status: Closed
-
L3 - Default
-
Resolution: Fixed
-
7.4.0-alpha2
Description
The test verifies time order of historic tasks. Since the resolution is ms, the order my not predictable if the engine is faster to complete the tasks.
On my computer I inserted a calculation to show the distance between to tasks: 3 ms.
Stephan Itzenplitz could not compile and test camunda bpmn, his computer is probably a little bit faster. He did all the analyze work to locate the problem. Compilation within Ecipse slows the process so that there have been no problems.
Please have a look at the following test case:
testMultipleDecisionInstances
startProcessInstanceAndEvaluateDecision("a"); try { Thread.sleep(5); } catch (InterruptedException e) { // will not happen e.printStackTrace(); } startProcessInstanceAndEvaluateDecision("b");
If you run it with the Thread.sleep call, it is ensured, that there will be the required delay on milli second level to get it all time working.
Caution:
Please think about concepquences.
- Is the resolution at the API sufficient?
- are there probably further tests affected?
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- is duplicated by
-
CAM-4738 Stabilize HistoricDecisionInstanceTest
-
- Closed
-