-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Restore Tomcat 10 Failing Tests for 7.22 #4434
Comments
Hi @psavidis, I was able to restore most of the integration tests for Tomcat 10. The fix is to add the WELD library to the Tomcat 10 server libs folder. Please have a look at the linked pull request. You might also want to look at how to fix the two remaining tests, We should document this in the migration guide/patch level guide under which circumstances users cannot embed the WELD library in their WARs and instead need to add it to the server libs folder. Can you please drive this topic forward (including backports for 7.21) in my absence? I also informed the customer about this in the following support case: Can you please keep an eye on them in case there are follow-up questions? Best, |
Progress UpdateTest:
Test:
|
UpdateTest: CdiBeanCallActivityResolutionTest Debugging revealed that when adding a) the bean is created The above looks related to the call activity setup. |
Context: Tomcat 10, CDI and Weld Tests Fix: This commit includes a fix for the tests to load weld under the Tomcat lib folder instead of placing it into the WEB-INF/lib folder of the individual wars used by the tests. Related-to: #4434
To avoid losing time, the fix is merged. a) accepted without a fix |
Added a message to migration guide + patch level section to notice users of the classloading issue workaround (PR) Assigning to @danielkelemen for review. PS: When the above is finalised and merged, will proceed with the backport. |
Co-authored-by: Petros Savvidis <[email protected]> Co-authored-by: Daniel Kelemen <[email protected]> Related-to: camunda/camunda-bpm-platform#4434
All test failures for CE/EE latest code are passing. Opened up a new ticket for tracking the last 2 remaining tests that are not yet fixed Closing this ticket. |
Co-authored-by: Petros Savvidis <[email protected]> Co-authored-by: Daniel Kelemen <[email protected]> Related-to: camunda/camunda-bpm-platform#4434
Co-authored-by: Petros Savvidis <[email protected]> Co-authored-by: Daniel Kelemen <[email protected]> Related-to: camunda/camunda-bpm-platform#4434
Context: Tomcat 10, CDI and Weld Tests Fix: This commit includes a fix for the tests to load weld under the Tomcat lib folder instead of placing it into the WEB-INF/lib folder of the individual wars used by the tests. Related-to: camunda/camunda-bpm-platform#4434
Acceptance Criteria (Required on creation)
The
integration-tests-engine-jakarta
tests incompatible withTomcat 10
,Arquillian
andweld-servlet-shaded
are restored and pass the CI forcamunda-bpm-platform 7.22
.Here is the commit that demonstrates the exclusion.
Hints
File:
qa/integration-tests-engine-jakarta/pom.xml
Profile:
tomcat
Maven-plugin:
maven-surefire-plugin
Prerequisite: The issue with
Tomcat10
,Arquillian
andweld-servlet-shaded
is fixed.Action Needed: Delete the
TODO
and all the exclusions of theTomcat 10
failing tests after.Analytical Test Classes List
Links
Breakdown
Pull Requests
The text was updated successfully, but these errors were encountered: