-
Task
-
Resolution: Duplicate
-
Critical
-
None
-
None
-
None
Currently, the test suite contains
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
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).
- blocks
-
JBEAP-10301 Create test for EJB client configured by wildfly-config.xml
- Closed
- is cloned by
-
WFLY-9494 Remove jboss-ejb-client.properties and wildfly-config.xml from default locations in the test suite
- Open