[
https://issues.redhat.com/browse/WFLY-12899?page=com.atlassian.jira.plugi...
]
James Crowley commented on WFLY-12899:
--------------------------------------
[~brian.stansberry] Thanks for linking the other snippet of code. I looked at that before,
and figured the value of USER_SYS_PROP should be USER since were running the test on
Linux.
I am not sure why setting USER=jenkins in the test would have effect on this. I am not
100% if that is setting the env.USER in the test, especially since the test is running in
a Docker container.
Should env.USER be set to something? Or should it be blank?
Failing JMXPropertyEditorsTestCase in 18.0.0.Final
--------------------------------------------------
Key: WFLY-12899
URL:
https://issues.redhat.com/browse/WFLY-12899
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 18.0.0.Final
Reporter: James Crowley
Priority: Major
When calling "./mvnw install -DallTests", it gets up to the
JMXPropertyEditorsTestCase and fails with this error, "Caused by:
java.lang.IllegalStateException: Failed to resolve expression: env.USER"}}}}".
Looking at the source code for the test
[
here|https://github.com/wildfly/wildfly/blob/1bf993be72b570a0c780a58ba05c...],
it looks like USER is suppose to be defined by USER_SYS_PROP.
I am not sure what the problem is but I know it is failing somewhere in the above test.
You can see the full log in the in Adopt's test
[
here|https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1436/conso...].
--
This message was sent by Atlassian Jira
(v7.13.8#713008)