]
Yeray Borges moved JBEAP-13649 to WFLY-9494:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9494 (was: JBEAP-13649)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: EJB
Test Suite
(was: EJB)
(was: Test Suite)
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
Priority: Critical
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).