Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.0.7
-
None
-
None
Description
The TCK work introduced some regression regarding two test cases located in org.apache.tomee:cdi-tomee
A git bisect session revealed, that https://github.com/apache/tomee/commit/057ed7adade08d8c2132ab1c8bc6fa367c93e946 seems to cause this issue.
To debug it :
1. Conduct a quick build without tests ("-Pquick -DskipTests
-Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false
-ff -Dassemble -DfailIfNoTests=false clean install")
2. In tck/cdi-tomee/pom.xml in line 34 change it
to <suite.name>failing</suite.name>
3. In tck/cdi-tomee/src/test/resources/failing.xml update the class
name to
"org.jboss.cdi.tck.tests.context.session.async.SessionContextAsyncListe
nerTest" (only execute the failing test class)
4. In{{ tck/cdi-tomee/src/test/resources/arquillian.xml}} add <property
name="debug">true</property>
5. In{{ tck/cdi-tomee/}} run{{ "mvn clean test"}} -> should be possible to
attach a debugger
References to mailing list discussions: https://mail-archives.apache.org/mod_mbox/tomee-dev/202107.mbox/%3C7816203a755460dd69fe6ed8f11e097396e84f66.camel%40hs-heilbronn.de%3E