[jboss-jira] [JBoss JIRA] (AS7-5703) cli LinebreaksTestCase relies on environment JBOSS_HOME

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Wed Oct 10 04:46:03 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725215#comment-12725215 ] 

Alexey Loubyansky commented on AS7-5703:
----------------------------------------

It is trying to locate jboss-cli.xml using ${jboss.cli.config}, if that fails it's looking for it in the current dir, if that fails it's trying JBOSS_HOME, if that fails it's logging a WARN and uses defaults.
                
> cli LinebreaksTestCase relies on environment JBOSS_HOME
> -------------------------------------------------------
>
>                 Key: AS7-5703
>                 URL: https://issues.jboss.org/browse/AS7-5703
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Cheng Fang
>            Assignee: Alexey Loubyansky
>
> When building jboss-as and running tests, I'm seeing the following error from cli tests:
> Tests in error: 
>   org.jboss.as.cli.parsing.test.LinebreaksTestCase: Failed to parse /Users/cfang/as/bin/jboss-cli.xml
> The path points to my existing jboss installation, which could be a different version from what I'm building and testing in my jboss-as workspace.  When my existing jboss is 7.2, or 5, 6, the cli test failed.
> Maybe the test should reset or unset JBOSS_HOME in its surefire plugin configuration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list