NO-JIRA FileConfigurationParserTest creating data folder

FileConfigurationParserTest was creating a data folder.
This is simply disabling persistence from the configuration used by the server on this test as it is not needed.
This commit is contained in:
Clebert Suconic 2019-05-16 08:55:57 -04:00
parent ea973ce776
commit ce92cc827e
2 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class FileConfigurationParserTest extends ActiveMQTestBase {
@Test
public void testDuplicateQueue() throws Exception {
String filename = "duplicateQueue.xml";
String filename = "FileConfigurationParser-duplicateQueue.xml";
FileConfiguration fc = new FileConfiguration();
FileDeploymentManager deploymentManager = new FileDeploymentManager(filename);
deploymentManager.addDeployable(fc);

View File

@ -18,7 +18,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd">
<core xmlns="urn:activemq:core">
<persistence-enabled>false</persistence-enabled>
<addresses>
<address name="a">
<anycast>
@ -32,4 +34,5 @@
</address>
</addresses>
</core>
</configuration>