[jboss-jira] [JBoss JIRA] (WFLY-9494) Remove jboss-ejb-client.properties and wildfly-config.xml from default locations in the test suite
Yeray Borges (JIRA)
issues at jboss.org
Thu May 3 06:43:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-9494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570275#comment-13570275 ]
Yeray Borges commented on WFLY-9494:
------------------------------------
Correct [~dlofthouse], wildfly-config.xml files were removed from those locations: https://issues.jboss.org/browse/WFLY-8802, ejb-client properties are still there
I haven't found a simple solution for this issue yet.
> Remove jboss-ejb-client.properties and wildfly-config.xml from default locations in the test suite
> --------------------------------------------------------------------------------------------------
>
> Key: WFLY-9494
> URL: https://issues.jboss.org/browse/WFLY-9494
> Project: WildFly
> Issue Type: Task
> Components: EJB, Test Suite
> Reporter: Yeray Borges
> Assignee: Yeray Borges
>
> Currently, the test suite contains
> {noformat}
> testsuite/integration/basic/src/test/resources/jboss-ejb-client.properties
> testsuite/integration/basic/src/test/resources/wildfly-config.xml
> testsuite/integration/legacy-ejb-client/src/test/resources/jboss-ejb-client.properties
> testsuite/integration/manualmode/src/test/resources/jboss-ejb-client.properties
> {noformat}
> This means that all {{@RunAsClient}} tests pick them up by default and it's very difficult to add new tests which need to use the same configuration files but with different contents than the default ones, without negatively affecting other tests.
> For example, it's not easily possible to make a test completely ignore the {{jboss-ejb-client.properties}} because setting the {{jboss.ejb.client.properties.file.path}} property to an empty string still makes the EJB client use the file from the default location (it is possible to switch to a different valid {{jboss-ejb-client.properties}} but not to just tell the test to not use any at all).
> No such file should be present in the location from which it is picked up by default, tests which need such file should set up paths to them (for example, using {{wildfly.config.url}} and {{jboss.ejb.client.properties.file.path}} system properties).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list