diff --git a/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/TestDriver.kt b/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/TestDriver.kt index 7b35e6ff1..09ad97482 100644 --- a/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/TestDriver.kt +++ b/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/TestDriver.kt @@ -46,6 +46,7 @@ class TestDriver( otherTaskDefinitionKey: String = "another-user-task" ): BpmnModelInstance = Bpmn .createExecutableProcess(processId) + .camundaHistoryTimeToLive(1) // start event .startEvent("start").camundaAsyncAfter(asyncOnStart) // user task diff --git a/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/tx/ProcessDefinitionServiceITest.kt b/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/tx/ProcessDefinitionServiceITest.kt index f5914dfe8..3e0d7b5f5 100644 --- a/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/tx/ProcessDefinitionServiceITest.kt +++ b/integration/camunda-bpm/taskpool-collector/src/test/kotlin/io/holunda/polyflow/taskpool/itest/tx/ProcessDefinitionServiceITest.kt @@ -62,6 +62,7 @@ class ProcessDefinitionServiceITest { val startEventId = "start" val modelInstance = Bpmn .createExecutableProcess(processId) + .camundaHistoryTimeToLive(1) .startEvent(startEventId) .endEvent("end") .done().apply { @@ -93,6 +94,7 @@ class ProcessDefinitionServiceITest { val startEventId = "start" val modelInstance = Bpmn .createExecutableProcess(processId) + .camundaHistoryTimeToLive(1) .startEvent(startEventId) .endEvent("end") .done().apply { diff --git a/integration/camunda-bpm/taskpool-collector/src/test/resources/itest/message_start_event.bpmn b/integration/camunda-bpm/taskpool-collector/src/test/resources/itest/message_start_event.bpmn index 67f5ead53..5d052b110 100644 --- a/integration/camunda-bpm/taskpool-collector/src/test/resources/itest/message_start_event.bpmn +++ b/integration/camunda-bpm/taskpool-collector/src/test/resources/itest/message_start_event.bpmn @@ -1,6 +1,6 @@ - - + + Flow_0rqm55e Flow_1k4xpiz