Abhitocode opened a new pull request, #3652:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3652
Below are the tests with issues, commented the same for each test.
1. **ErrorEventTest**
- testEventSubprocessErrorThrowOnTask and testCatchErrorBoundaryEventOnTask
(both tests)
It appears that the system can't cast
org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemDecoratorImpl to
org.kie.kogito.process.workitems.impl.KogitoWorkItemImpl. I maybe wrong but I
think the error exists in TestWorkItemHandler file.
error:
Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException:
[ErrorBoundaryEventOnTask:09a6d44f-cbac-4033-a468-555a3b76b8ba - Boundary
event:[uuid=BoundaryEvent_1]]
class
org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemDecoratorImpl cannot
be cast to
class org.kie.kogito.process.workitems.impl.KogitoWorkItemImpl
(org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemDecoratorImpl
and org.kie.kogito.process.workitems.impl.KogitoWorkItemImpl are in unnamed
module of loader 'app')
2. **EscalationEventTest**
- testInterruptingEscalationBoundaryEventOnTask
The process instance does not reach completed state however I try but
remains active instead.
error: [ERROR]
EscalationEventTest.testInterruptingEscalationBoundaryEventOnTask:
* expected: 2
* but was: 1
guidance on aobe would be helpful.
Closes https://github.com/apache/incubator-kie-issues/issues/1131.
Note: This pr contains tests with error, only for review purpose.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]