Details
-
Bug
-
Resolution: Done
-
Major
-
5.10.4.Final
-
None
Description
When the LRA TCK is run with -Dit.test e.g. mvn clean verify -Parq -Dit.test=TckRecoveryTests#testCancelWhenParticipantIsUnavailable then it fails with
ava.lang.RuntimeException: Could not create statement Caused by: java.lang.RuntimeException: Could not lookup value for field private java.net.URL org.eclipse.microprofile.lra.tck.TckRecoveryTests.deploymentURL Caused by: java.lang.IllegalArgumentException: Cannot parse java VM arguments -Dthorntail.http.host=localhost -Dthorntail.http.port=8180 -Dlra.tck.coordinator.hostname=localhost -Dlra.tck.coordinator.port=8080 -Dlra.http.host=localhost -Dlra.http.port=8080 -Dlra.tck.consistency.shortDelay=1000 -Dlra.tck.consistency.longDelay=20000
The trouble is that Arquillian (in particular it could be the Thorntail Arquillian adapter) is not capable to parse multiple spaces in the VM args.
https://github.com/jbosstm/narayana/blob/5.10.4.Final/rts/lra/lra-test/lra-test-tck/src/test/resources/arquillian-thorntail.xml#L10
Ie. in the stup there could happen to be resolved to
<property name="javaVmArguments">{space}{space}{space}{space}-Dthorntail.http.host=localhost ...
Those multiple spaces seems to do some troubles
Attachments
Issue Links
- is duplicated by
-
JBTM-3279 TCK test TckRecoveryTests fails with configuration error
- Closed