-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
-
S
The following Integration Tests are failing due to changes introduced with OPT-6530:
- ProcessCsvExportServiceIT.durationIsSetCorrectlyEvenWhenNotSortingByDurationOnCsvExport
- ProcessCsvExportServiceIT.runningAndCompletedProcessInstancesSortByDuration (2x)
It's necessary to check if the change caused a regression or if the tests just got outdated and need to be updated.
Full error log:
ProcessCsvExportServiceIT.durationIsSetCorrectlyEvenWhenNotSortingByDurationOnCsvExport:216 [2022-12-06T11:15:04.874Z] expected: [2022-12-06T11:15:04.874Z] ""processDefinitionKey","processDefinitionId","processInstanceId","businessKey","startDate","endDate","duration","engineName","tenantId" [2022-12-06T11:15:04.874Z] "aProcess","aProcess:1:6d150ff7-7555-11ed-897b-2a4f15a92ce8","6d16bcda-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-11-22T12:02:08.101+01:00",,"1209600000","camunda-bpm", [2022-12-06T11:15:04.874Z] " [2022-12-06T11:15:04.874Z] but was: [2022-12-06T11:15:04.874Z] ""processDefinitionKey","processDefinitionId","processInstanceId","numberOfIncidents","numberOfOpenIncidents","numberOfUserTasks","businessKey","startDate","endDate","duration","engineName","tenantId","dur:startEvent","dur:userTask1" [2022-12-06T11:15:04.874Z] "aProcess","aProcess:1:6d150ff7-7555-11ed-897b-2a4f15a92ce8","6d16bcda-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-11-22T12:02:08.101+01:00",,"1209600000","camunda-bpm",,"0","-22" [2022-12-06T11:15:04.874Z] " [2022-12-06T11:15:04.874Z] [ERROR] ProcessCsvExportServiceIT.runningAndCompletedProcessInstancesSortByDuration:384 [2022-12-06T11:15:04.874Z] expected: [2022-12-06T11:15:04.874Z] ""processDefinitionKey","processDefinitionId","processInstanceId","businessKey","startDate","endDate","duration","engineName","tenantId" [2022-12-06T11:15:04.874Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6be149fd-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-12-03T12:02:06.045+01:00","2022-12-04T12:02:06.045+01:00","86400000","camunda-bpm", [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6be4a570-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-12-04T12:02:06.045+01:00",,"172800000","camunda-bpm", [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6bdd2c3f-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-11-22T12:02:06.045+01:00","2022-11-29T12:02:06.045+01:00","604800000","camunda-bpm", [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6be51aa6-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-11-22T12:02:06.045+01:00",,"1209600000","camunda-bpm", [2022-12-06T11:15:04.875Z] " [2022-12-06T11:15:04.875Z] but was: [2022-12-06T11:15:04.875Z] ""processDefinitionKey","processDefinitionId","processInstanceId","numberOfIncidents","numberOfOpenIncidents","numberOfUserTasks","businessKey","startDate","endDate","duration","engineName","tenantId","dur:endEvent","dur:startEvent","dur:userTask1" [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6be149fd-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-12-03T12:02:06.045+01:00","2022-12-04T12:02:06.045+01:00","86400000","camunda-bpm",,"0","0","18" [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6be4a570-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-12-04T12:02:06.045+01:00",,"172800000","camunda-bpm",,,"0","-73" [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6bdd2c3f-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-11-22T12:02:06.045+01:00","2022-11-29T12:02:06.045+01:00","604800000","camunda-bpm",,"0","0","22" [2022-12-06T11:15:04.875Z] "aProcess","aProcess:1:6bdbccac-7555-11ed-897b-2a4f15a92ce8","6be51aa6-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-11-22T12:02:06.045+01:00",,"1209600000","camunda-bpm",,,"0","-75" [2022-12-06T11:15:04.876Z] " [2022-12-06T11:15:04.876Z] [ERROR] ProcessCsvExportServiceIT.runningAndCompletedProcessInstancesSortByDuration:384 [2022-12-06T11:15:04.876Z] expected: [2022-12-06T11:15:04.876Z] ""processDefinitionKey","processDefinitionId","processInstanceId","businessKey","startDate","endDate","duration","engineName","tenantId" [2022-12-06T11:15:04.876Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c2bc0e2-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-11-22T12:02:06.519+01:00",,"1209600000","camunda-bpm", [2022-12-06T11:15:04.876Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c253110-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-11-22T12:02:06.519+01:00","2022-11-29T12:02:06.519+01:00","604800000","camunda-bpm", [2022-12-06T11:15:04.876Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c2b4bac-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-12-04T12:02:06.519+01:00",,"172800000","camunda-bpm", [2022-12-06T11:15:04.876Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c283e5e-7555-11ed-897b-2a4f15a92ce8","aBusinessKey","2022-12-03T12:02:06.519+01:00","2022-12-04T12:02:06.519+01:00","86400000","camunda-bpm", [2022-12-06T11:15:04.876Z] " [2022-12-06T11:15:04.876Z] but was: [2022-12-06T11:15:04.876Z] ""processDefinitionKey","processDefinitionId","processInstanceId","numberOfIncidents","numberOfOpenIncidents","numberOfUserTasks","businessKey","startDate","endDate","duration","engineName","tenantId","dur:startEvent","dur:endEvent","dur:userTask1" [2022-12-06T11:15:04.876Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c2bc0e2-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-11-22T12:02:06.519+01:00",,"1209600000","camunda-bpm",,"0",,"-64" [2022-12-06T11:15:04.877Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c253110-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-11-22T12:02:06.519+01:00","2022-11-29T12:02:06.519+01:00","604800000","camunda-bpm",,"0","0","15" [2022-12-06T11:15:04.877Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c2b4bac-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-12-04T12:02:06.519+01:00",,"172800000","camunda-bpm",,"0",,"-61" [2022-12-06T11:15:04.877Z] "aProcess","aProcess:1:6c23d17d-7555-11ed-897b-2a4f15a92ce8","6c283e5e-7555-11ed-897b-2a4f15a92ce8","0","0","1","aBusinessKey","2022-12-03T12:02:06.519+01:00","2022-12-04T12:02:06.519+01:00","86400000","camunda-bpm",,"0","0","15" [2022-12-06T11:15:04.877Z] "