Details
-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Description
In the 7.16 Daily CE pipeline, the UPGRADE-databases-from-714-h2 ** stage fails with:
[2021-07-22T08:33:30.841Z] [ERROR] Tests run: 21, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.502 s <<< FAILURE! - in org.camunda.bpm.engine.test.api.mgmt.metrics.TaskMetricsTest
[2021-07-22T08:33:30.842Z] [ERROR] shouldCreateTaskMetricsWithinErrorMarginWithHigherLoadOfAssignments(org.camunda.bpm.engine.test.api.mgmt.metrics.TaskMetricsTest) Time elapsed: 0.01 s <<< ERROR!
[2021-07-22T08:33:30.842Z] java.lang.NoSuchMethodError: java.lang.Math.floorDiv(JI)J
[2021-07-22T08:33:30.842Z] at org.camunda.bpm.engine.test.api.mgmt.metrics.TaskMetricsTest.shouldCreateTaskMetricsWithinErrorMarginWithHigherLoadOfAssignments(TaskMetricsTest.java:272)
This failure is due to the wrong method signature used since the tests are compiled with Java 11.