Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[incubator-kie-issues-1131] test migration from V7 to code generation-25 #3649

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

Abhitocode
Copy link
Contributor

@Abhitocode Abhitocode commented Aug 29, 2024

Closes apache/incubator-kie-issues#1131.

Migrated below tests

  1. ErrorEventTest
  • testErrorBoundaryEvent
  1. Flow Test
  • testMultiInstanceLoopCharacteristicsProcessWithORGateway

The test can be identified by referring to EscalationEventTest.java and FlowTest,java
https://github.com/apache/incubator-kie-kogito-runtimes/blob/main/jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/EscalationEventTest.java

@Abhitocode Abhitocode force-pushed the incubator-kie-issues-1131-25 branch from a3311f1 to 57a64d4 Compare August 29, 2024 14:29
@Abhitocode Abhitocode force-pushed the incubator-kie-issues-1131-25 branch 3 times, most recently from 5019a7c to 891a0b2 Compare September 3, 2024 03:45
@Abhitocode Abhitocode force-pushed the incubator-kie-issues-1131-25 branch from 891a0b2 to c1235bc Compare September 16, 2024 12:59
@Abhitocode Abhitocode force-pushed the incubator-kie-issues-1131-25 branch from c1235bc to 251f40f Compare September 20, 2024 03:31
@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 20, 2024

PR job #7 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u #3649 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3649/7/display/redirect

Test results:

  • PASSED: 3320
  • FAILED: 5

Those are the test failures:

io.quarkus.it.kogito.devmode.DevMojoIT.testDRLHotReload Condition with io.quarkus.it.kogito.devmode.DevMojoIT was not fulfilled within 2 minutes.
org.kie.kogito.integrationtests.quarkus.reactive.ProcessSvgAddonIT.testGetSvgProcessInstances 1 expectation failed.
Response body doesn't match expectation.
Expected: Expected namespace uri 'http://www.w3.org/2000/svg' but was 'null' - comparing at /svg[1]/defs[1] to at /svg[1]/defs[1]:

Actual:

EndStartProcessSecond Line Approval First Line Approval
org.kie.kogito.integrationtests.quarkus.ProcessSvgAddonIT.testGetSvgProcessInstances 1 expectation failed.
Response body doesn't match expectation.
Expected: Expected namespace uri 'http://www.w3.org/2000/svg' but was 'null' - comparing at /svg[1]/defs[1] to at /svg[1]/defs[1]:

Actual:

EndStartProcessSecond Line Approval First Line Approval
org.kie.kogito.svg.service.SpringBootProcessSvgServiceTest.annotateExecutedPathTest
Expecting value to be false but was true
org.kie.kogito.integrationtests.springboot.ProcessSvgAddonTest.testGetSvgProcessInstances 1 expectation failed.
Response body doesn't match expectation.
Expected: Expected namespace uri 'http://www.w3.org/2000/svg' but was 'null' - comparing at /svg[1]/defs[1] to at /svg[1]/defs[1]:

Actual:

EndStartProcessSecond Line Approval First Line Approval

@Abhitocode Abhitocode marked this pull request as ready for review December 4, 2024 18:19
@pefernan
Copy link
Contributor

pefernan commented Dec 5, 2024

Errors are not related to this PR, making another try

@pefernan pefernan merged commit 68b9116 into apache:main Dec 5, 2024
11 of 12 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate process test migration from v7 legacy runtime to code generation
5 participants