Bug Report: Arquillian adapter does not pass system properties to tests #6589
Labels
Status: Open
Issue has been triaged by the front-line engineers and is being worked on verification
Type: Bug
Label issue as a bug defect
Brief Summary
Currently i reactivate all integrationtests of DeltaSpike and it seems that the system properties are available in
@Deployment
but not in the single tests.In DeltaSpike we pass the CDI container and version to the arqullian tests ("cdicontainer.version" system property) and skip some tests because they are broken in different Weld versions.
For Payara this is done via surefire-plugin:
https://github.com/apache/deltaspike/blob/master/deltaspike/parent/code/pom.xml#L898
Expected Outcome
Its available in both ln58 and ln79:
https://github.com/apache/deltaspike/blob/master/deltaspike/modules/partial-bean/impl/src/test/java/org/apache/deltaspike/test/core/api/partialbean/uc008/ClassLevelInterceptorTest.java#L58
Current Outcome
Its only available in
@Deployment
but not in the single tests.I even tried to add it additionaly via:
Reproducer
clone deltaspike and run the build via:
mvn clean install -Ppayara-build-managed
It should not reach the workaround https://github.com/apache/deltaspike/blob/master/deltaspike/modules/partial-bean/impl/src/test/java/org/apache/deltaspike/test/core/api/partialbean/uc008/ClassLevelInterceptorTest.java#L82
but it does
Operating System
Windows/Linux
JDK Version
Correto 17
Payara Distribution
Payara Server Full Profile
The text was updated successfully, but these errors were encountered: